mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Register core/file abstract type
This commit is contained in:
		| @@ -416,4 +416,7 @@ void janet_lib_io(JanetTable *env) { | |||||||
|     janet_core_def(env, "stdin", |     janet_core_def(env, "stdin", | ||||||
|                    makef(stdin, IO_READ | IO_NOT_CLOSEABLE | IO_SERIALIZABLE), |                    makef(stdin, IO_READ | IO_NOT_CLOSEABLE | IO_SERIALIZABLE), | ||||||
|                    JDOC("The standard input file.")); |                    JDOC("The standard input file.")); | ||||||
|  |  | ||||||
|  |     janet_register_abstract_type(&cfun_io_filetype); | ||||||
|  |      | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 J.-F. Cap
					J.-F. Cap