Added a utility to call toy functions from C

This commit is contained in:
2022-10-01 13:51:40 +01:00
parent 976a9073f8
commit 256538e1f9
5 changed files with 390 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ void runBinary(unsigned char* tb, size_t size) {
Interpreter interpreter;
initInterpreter(&interpreter);
//NOTE: supress print output for testing
//NOTE: suppress print output for testing
setInterpreterPrint(&interpreter, noPrintFn);
runInterpreter(&interpreter, tb, size);