minor refactoring and typos

This commit is contained in:
2023-05-25 19:40:15 -05:00
committed by cpunch
parent d1a16d990c
commit 3b13ae1624
6 changed files with 8 additions and 12 deletions

View File

@@ -59,9 +59,9 @@ struct CState
CValue *top; // top of the stack
CObjObject *protoObjects[COBJ_MAX]; // proto object for each COBJ type [NULL = no default proto]
CObjString *iStrings[ISTRING_MAX]; // strings used internally by the VM, eg. __init, __index
CCallFrame callFrame[FRAME_MAX]; // call frames
CValue stack[STACK_MAX]; // stack
CObjString *iStrings[ISTRING_MAX]; // strings used internally by the VM, eg. __init, __index
CCallFrame callFrame[FRAME_MAX]; // call frames
CValue stack[STACK_MAX]; // stack
};
COSMO_API CState *cosmoV_newState();