Nigel Birkenshaw
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
10 additions and
0 deletions
-
.gitattributes
-
.gitignore
-
c_src/termstack.c
|
|
@ -0,0 +1,2 @@ |
|
|
|
# Unifying line endings so tests can pass on Windows |
|
|
|
*.json text eol=lf |
|
|
@ -8,6 +8,10 @@ |
|
|
|
*.d |
|
|
|
*.o |
|
|
|
*.so |
|
|
|
*.pdb |
|
|
|
*.dll |
|
|
|
*.exp |
|
|
|
*.lib |
|
|
|
_build |
|
|
|
compile_commands.json |
|
|
|
deps |
|
|
|
|
|
@ -8,6 +8,10 @@ |
|
|
|
#include "jiffy.h" |
|
|
|
#include "termstack.h" |
|
|
|
|
|
|
|
#if WINDOWS || WIN32 |
|
|
|
#define inline |
|
|
|
#endif |
|
|
|
|
|
|
|
ERL_NIF_TERM |
|
|
|
termstack_save(ErlNifEnv* env, TermStack* stack) |
|
|
|
{ |
|
|
|