mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
io library file creation
This commit is contained in:
14
repl/lib_io.c
Normal file
14
repl/lib_io.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "lib_io.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
//call the hook
|
||||
typedef struct Natives {
|
||||
char* name;
|
||||
Toy_NativeFn fn;
|
||||
} Natives;
|
||||
|
||||
|
||||
int Toy_hookIO(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_Literal alias) {
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user