Browse Source

Merge 3d5d926dbb into 9ea1b35b6e

pull/182/merge
Nigel Birkenshaw 3 years ago
committed by GitHub
parent
commit
552a8031a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions
  1. +2
    -0
      .gitattributes
  2. +4
    -0
      .gitignore
  3. +4
    -0
      c_src/termstack.c

+ 2
- 0
.gitattributes View File

@ -0,0 +1,2 @@
# Unifying line endings so tests can pass on Windows
*.json text eol=lf

+ 4
- 0
.gitignore View File

@ -8,6 +8,10 @@
*.d *.d
*.o *.o
*.so *.so
*.pdb
*.dll
*.exp
*.lib
_build _build
compile_commands.json compile_commands.json
deps deps

+ 4
- 0
c_src/termstack.c View File

@ -8,6 +8,10 @@
#include "jiffy.h" #include "jiffy.h"
#include "termstack.h" #include "termstack.h"
#if WINDOWS || WIN32
#define inline
#endif
ERL_NIF_TERM ERL_NIF_TERM
termstack_save(ErlNifEnv* env, TermStack* stack) termstack_save(ErlNifEnv* env, TermStack* stack)
{ {

Loading…
Cancel
Save