1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-17 07:47:15 +00:00

Add macros in compiler.

This commit is contained in:
bakpakin
2018-01-28 15:29:47 -05:00
parent 8fe9881187
commit b305a7c9bb
12 changed files with 213 additions and 120 deletions

View File

@@ -231,11 +231,11 @@ static int dst_io_fclose(DstArgs args) {
#endif
static const DstReg cfuns[] = {
{"fopen", dst_io_fopen},
{"fclose", dst_io_fclose},
{"fread", dst_io_fread},
{"fwrite", dst_io_fwrite},
{"fflush", dst_io_fflush},
{"file-open", dst_io_fopen},
{"file-close", dst_io_fclose},
{"file-read", dst_io_fread},
{"file-write", dst_io_fwrite},
{"file-flush", dst_io_fflush},
{NULL, NULL}
};