mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added MSVC build support, likely broke tests
This commit is contained in:
@@ -2356,7 +2356,7 @@ void Toy_initInterpreter(Toy_Interpreter* interpreter) {
|
||||
Toy_resetInterpreter(interpreter);
|
||||
}
|
||||
|
||||
void Toy_runInterpreter(Toy_Interpreter* interpreter, const unsigned char* bytecode, int length) {
|
||||
void Toy_runInterpreter(Toy_Interpreter* interpreter, const unsigned char* bytecode, size_t length) {
|
||||
//initialize here instead of initInterpreter()
|
||||
Toy_initLiteralArray(&interpreter->literalCache);
|
||||
interpreter->bytecode = NULL;
|
||||
|
||||
Reference in New Issue
Block a user