forked from ground/ground
Closures in Ground
This commit is contained in:
@@ -208,6 +208,10 @@ GroundProgram groundParseFile(const char* code);
|
||||
GroundStruct groundCreateStruct();
|
||||
void groundAddFieldToStruct(GroundStruct* gstruct, char* name, GroundValue field);
|
||||
|
||||
// Run function returned by Ground code
|
||||
// Use argc to set count of args, accepts that amount of GroundValue's after
|
||||
GroundValue groundRunFunction(GroundFunction* function, size_t argc, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user