Call functions

This commit is contained in:
2025-12-06 14:35:13 +11:00
parent 9553934db5
commit 166a547a74
5 changed files with 74 additions and 11 deletions

View File

@@ -118,6 +118,7 @@ typedef struct GroundFunction {
size_t argSize;
GroundValueType returnType;
GroundProgram program;
size_t startLine;
} GroundFunction;
@@ -142,6 +143,9 @@ GroundValue createListGroundValue(List in);
// Creates a GroundValue conatining (in), with type FUNCTION.
GroundValue createFunctionGroundValue(GroundFunction* in);
// Creates a Groundvalue with type NONE.
GroundValue createNoneGroundValue();
// Creates a deep copy of a GroundValue
GroundValue copyGroundValue(const GroundValue* gv);