1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 09:47:17 +00:00

Register core/file abstract type

This commit is contained in:
J.-F. Cap 2019-02-27 10:54:10 +01:00
parent 4713219317
commit d70049dbb1

View File

@ -416,4 +416,7 @@ void janet_lib_io(JanetTable *env) {
janet_core_def(env, "stdin",
makef(stdin, IO_READ | IO_NOT_CLOSEABLE | IO_SERIALIZABLE),
JDOC("The standard input file."));
janet_register_abstract_type(&cfun_io_filetype);
}