mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-17 15:54:07 +10:00
Implemented typeof and added resetInterpreter()
This commit is contained in:
@@ -41,6 +41,7 @@ void setInterpreterAssert(Interpreter* interpreter, PrintFn assertOutput);
|
||||
void setInterpreterError(Interpreter* interpreter, PrintFn errorOutput);
|
||||
|
||||
//main access
|
||||
void initInterpreter(Interpreter* interpreter);
|
||||
void runInterpreter(Interpreter* interpreter, unsigned char* bytecode, int length);
|
||||
void freeInterpreter(Interpreter* interpreter);
|
||||
void initInterpreter(Interpreter* interpreter); //start of program
|
||||
void runInterpreter(Interpreter* interpreter, unsigned char* bytecode, int length); //run the code
|
||||
void resetInterpreter(Interpreter* interpreter); //use this to reset the interpreter's environment between runs
|
||||
void freeInterpreter(Interpreter* interpreter); //end of program
|
||||
|
||||
Reference in New Issue
Block a user