stuff
This commit is contained in:
@@ -100,6 +100,9 @@ void _GroundBytecodeProgramOptimise(GroundBytecodeProgram* program);
|
||||
|
||||
int64_t _GroundBytecodeInstructionExecute(GroundBytecodeInstruction* instruction, GroundBytecodeHeap* heap);
|
||||
|
||||
void _GroundBytecodeSave(GroundBytecode* bytecode, const char* path);
|
||||
GroundBytecode _GroundBytecodeLoad(const char* path);
|
||||
|
||||
void _GroundBytecodeHeapSet(GroundBytecodeHeap* heap, GroundSize idx, GroundValue value);
|
||||
GroundValue* _GroundBytecodeHeapGet(GroundBytecodeHeap* heap, GroundSize idx);
|
||||
|
||||
@@ -223,6 +226,8 @@ struct _Ground Ground = {
|
||||
},
|
||||
|
||||
.Bytecode = {
|
||||
.save = _GroundBytecodeSave,
|
||||
.load = _GroundBytecodeLoad,
|
||||
.Program = {
|
||||
.execute = _GroundBytecodeProgramExecute,
|
||||
.optimise = _GroundBytecodeProgramOptimise,
|
||||
|
||||
Reference in New Issue
Block a user