forked from ground/ground-old
Add serialization functions to groundvm.h
This commit is contained in:
@@ -212,6 +212,10 @@ void groundAddFieldToStruct(GroundStruct* gstruct, char* name, GroundValue field
|
||||
// Use argc to set count of args, accepts that amount of GroundValue's after
|
||||
GroundValue groundRunFunction(GroundFunction* function, size_t argc, ...);
|
||||
|
||||
|
||||
bool serializeProgramToFile(const char* path, const GroundProgram* prog);
|
||||
bool deserializeProgramFromFile(const char* path, GroundProgram* out);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user