1
0
mirror of https://github.com/janet-lang/janet synced 2025-12-14 04:28:06 +00:00

Fix import macro to not coerce everything to string.

This commit is contained in:
Calvin Rose
2020-08-27 07:46:00 -05:00
parent 5dda83dc73
commit a31e079f93
5 changed files with 27 additions and 10 deletions

View File

@@ -1540,6 +1540,7 @@ extern JANET_API const JanetAbstractType janet_file_type;
#define JANET_FILE_BINARY 64
#define JANET_FILE_SERIALIZABLE 128
#define JANET_FILE_PIPED 256
#define JANET_FILE_NONIL 512
JANET_API Janet janet_makefile(FILE *f, int32_t flags);
JANET_API FILE *janet_getfile(const Janet *argv, int32_t n, int32_t *flags);