diff options
Diffstat (limited to 'src/insquery.h')
-rw-r--r-- | src/insquery.h | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/src/insquery.h b/src/insquery.h index dbcf7c1..9898ff0 100644 --- a/src/insquery.h +++ b/src/insquery.h @@ -1,7 +1,7 @@ /*******************************************************/ /* "C" Language Integrated Production System */ /* */ - /* CLIPS Version 6.24 06/05/06 */ + /* CLIPS Version 6.30 08/16/14 */ /* */ /* */ /*******************************************************/ @@ -10,16 +10,26 @@ /* Purpose: */ /* */ /* Principal Programmer(s): */ -/* Brian L. Donnell */ +/* Brian L. Dantes */ /* */ /* Contributing Programmer(s): */ /* */ /* Revision History: */ -/* 6.23: Corrected compilation errors for files */ +/* */ +/* 6.23: Correction for FalseSymbol/TrueSymbol. DR0859 */ +/* */ +/* Corrected compilation errors for files */ /* generated by constructs-to-c. DR0861 */ /* */ /* 6.24: Renamed BOOLEAN macro type to intBool. */ /* */ +/* 6.30: Changed integer type/precision. */ +/* */ +/* Changed garbage collection algorithm. */ +/* */ +/* Added const qualifiers to remove C++ */ +/* deprecation warnings. */ +/* */ /*************************************************************/ #ifndef _H_insquery @@ -62,7 +72,7 @@ typedef struct query_stack #define INSTANCE_QUERY_DATA 31 struct instanceQueryData - { + { SYMBOL_HN *QUERY_DELIMETER_SYMBOL; QUERY_CORE *QueryCore; QUERY_STACK *QueryCoreStack; @@ -71,7 +81,6 @@ struct instanceQueryData #define InstanceQueryData(theEnv) ((struct instanceQueryData *) GetEnvironmentData(theEnv,INSTANCE_QUERY_DATA)) - #ifdef LOCALE #undef LOCALE #endif @@ -84,19 +93,19 @@ struct instanceQueryData #define QUERY_DELIMETER_STRING "(QDS)" -LOCALE void SetupQuery(void *); -LOCALE void *GetQueryInstance(void *); -LOCALE void GetQueryInstanceSlot(void *,DATA_OBJECT *); -LOCALE intBool AnyInstances(void *); -LOCALE void QueryFindInstance(void *,DATA_OBJECT *); -LOCALE void QueryFindAllInstances(void *,DATA_OBJECT *); -LOCALE void QueryDoForInstance(void *,DATA_OBJECT *); -LOCALE void QueryDoForAllInstances(void *,DATA_OBJECT *); -LOCALE void DelayedQueryDoForAllInstances(void *,DATA_OBJECT *); + LOCALE void SetupQuery(void *); + LOCALE void *GetQueryInstance(void *); + LOCALE void GetQueryInstanceSlot(void *,DATA_OBJECT *); + LOCALE intBool AnyInstances(void *); + LOCALE void QueryFindInstance(void *,DATA_OBJECT *); + LOCALE void QueryFindAllInstances(void *,DATA_OBJECT *); + LOCALE void QueryDoForInstance(void *,DATA_OBJECT *); + LOCALE void QueryDoForAllInstances(void *,DATA_OBJECT *); + LOCALE void DelayedQueryDoForAllInstances(void *,DATA_OBJECT *); -#endif +#endif /* INSTANCE_SET_QUERIES */ -#endif +#endif /* _H_insquery */ |