Added mouse events

This commit is contained in:
2023-01-27 12:52:37 +00:00
parent 3b5b399f4f
commit 194a52394d
6 changed files with 206 additions and 51 deletions

View File

@@ -151,6 +151,10 @@ static int nativeLoadRootNode(Toy_Interpreter* interpreter, Toy_LiteralArray* ar
Box_callEngineNode(engine.rootNode, &engine.interpreter, "onInit", NULL);
//cleanup
while(inner.scope) {
inner.scope = Toy_popScope(inner.scope);
}
Toy_freeLiteralArray(&inner.stack);
Toy_freeLiteralArray(&inner.literalCache);
Toy_freeLiteral(filePathLiteral);