fix a bunch of memory bugs

This commit is contained in:
2026-07-04 19:59:00 +10:00
parent 5337a9e375
commit a913b3b24a
5 changed files with 17 additions and 8 deletions

View File

@@ -529,7 +529,7 @@ struct _Ground {
struct GroundExecutionResult (*execute) (GroundBytecodeInstruction* instruction, GroundBytecodeHeap* heap);
} Instruction;
struct {
void (*set) (GroundBytecodeHeap* heap, GroundSize idx, GroundValue value);
void (*set) (GroundBytecodeHeap* heap, GroundSize idx, GroundBytecodeValue value);
GroundValue* (*get) (GroundBytecodeHeap* heap, GroundSize idx);
} Heap;
} Bytecode;