mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added a few opcodes to the inspector
This commit is contained in:
@@ -748,7 +748,7 @@ static void processPrint(Toy_VM* vm) {
|
||||
//print the value on top of the stack, popping it
|
||||
Toy_Value value = Toy_popStack(&vm->stack);
|
||||
Toy_String* string = Toy_stringifyValue(&vm->memoryBucket, value);
|
||||
char* buffer = Toy_getStringRaw(string); //TODO: check string type to skip this call
|
||||
char* buffer = Toy_getStringRaw(string); //URGENT: check string type to skip this call
|
||||
|
||||
Toy_print(buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user