forked from ground/ground
groundFindVariable function
This commit is contained in:
@@ -20,7 +20,7 @@ typedef enum GroundInstType {
|
||||
} GroundInstType;
|
||||
|
||||
typedef enum GroundValueType {
|
||||
INT, DOUBLE, STRING, CHAR, BOOL, LIST, FUNCTION, STRUCTVAL, CUSTOM, ERROR, NONE
|
||||
INT, DOUBLE, STRING, CHAR, BOOL, LIST, FUNCTION, STRUCTVAL, CUSTOM, ERROR, NONE, ANY
|
||||
} GroundValueType;
|
||||
|
||||
typedef enum GroundArgType {
|
||||
@@ -209,6 +209,7 @@ GroundStruct groundCreateStruct();
|
||||
void groundAddFieldToStruct(GroundStruct* gstruct, char* name, GroundValue field);
|
||||
|
||||
GroundObjectField* groundFindField(GroundObject head, const char *id);
|
||||
GroundVariable* groundFindVariable(GroundScope* gs, const char *id);
|
||||
|
||||
// Run function returned by Ground code
|
||||
// Use argc to set count of args, accepts that amount of GroundValue's after
|
||||
|
||||
Reference in New Issue
Block a user