Updated Toy, fixed build process

This commit is contained in:
2023-02-16 20:19:42 +00:00
parent 9a1d81b7fb
commit f854979f4c
4 changed files with 11 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ const unsigned char* Toy_compileString(const char* source, size_t* size) {
}
//get the bytecode dump
const unsigned char* tb = Toy_collateCompiler(&compiler, (int*)(size));
const unsigned char* tb = Toy_collateCompiler(&compiler, size);
//cleanup
Toy_freeCompiler(&compiler);