This commit is contained in:
2025-11-24 10:15:53 +11:00
parent 251dd719b0
commit 51e9df75c3
6 changed files with 127 additions and 16 deletions

View File

@@ -116,6 +116,9 @@ GroundInstruction createGroundInstruction(GroundInstType type);
// Frees all data stored on the heap in a GroundInstruction.
void freeGroundInstruction(GroundInstruction* gi);
// Creates a deep copy of a GroundInstruction.
GroundInstruction copyGroundInstruction(const GroundInstruction* gi);
// Adds arg (arg) to the GroundInstruction (gi).
void addArgToInstruction(GroundInstruction* gi, GroundArg arg);