Updated Toy

This commit is contained in:
2023-02-10 16:24:22 +00:00
parent c23502537f
commit e41fe81044
3 changed files with 473 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
#include "lib_input.h"
#include "lib_node.h"
#include "lib_standard.h"
#include "lib_compound.h"
#include "lib_timer.h"
#include "lib_runner.h"
#include "repl_tools.h"
@@ -54,6 +55,7 @@ void Box_initEngine() {
Toy_injectNativeHook(&engine.interpreter, "node", Box_hookNode);
Toy_injectNativeHook(&engine.interpreter, "input", Box_hookInput);
Toy_injectNativeHook(&engine.interpreter, "standard", Toy_hookStandard);
Toy_injectNativeHook(&engine.interpreter, "compound", Toy_hookCompound);
Toy_injectNativeHook(&engine.interpreter, "timer", Toy_hookTimer);
Toy_injectNativeHook(&engine.interpreter, "runner", Toy_hookRunner);