1 /*******************************************************/ 2 /* "C" Language Integrated Production System */ 3 /* */ 4 /* CLIPS Version 6.30 08/16/14 */ 5 /* */ 6 /* INSTANCE PRIMITIVE SUPPORT MODULE */ 7 /*******************************************************/ 8 9 /*************************************************************/ 10 /* Purpose: */ 11 /* */ 12 /* Principal Programmer(s): */ 13 /* Brian L. Dantes */ 14 /* */ 15 /* Contributing Programmer(s): */ 16 /* */ 17 /* Revision History: */ 18 /* */ 19 /* 6.23: Correction for FalseSymbol/TrueSymbol. DR0859 */ 20 /* */ 21 /* 6.24: Removed LOGICAL_DEPENDENCIES compilation flag. */ 22 /* */ 23 /* Converted INSTANCE_PATTERN_MATCHING to */ 24 /* DEFRULE_CONSTRUCT. */ 25 /* */ 26 /* Renamed BOOLEAN macro type to intBool. */ 27 /* */ 28 /* 6.30: Changed integer type/precision. */ 29 /* */ 30 /* Used gensprintf instead of sprintf. */ 31 /* */ 32 /* Changed garbage collection algorithm. */ 33 /* */ 34 /* Added const qualifiers to remove C++ */ 35 /* deprecation warnings. */ 36 /* */ 37 /*************************************************************/ 38 39 #ifndef _H_insmngr 40 #define _H_insmngr 41 42 #ifndef _H_object 43 #include "object.h" 44 #endif 45 46 #ifdef LOCALE 47 #undef LOCALE 48 #endif 49 50 #ifdef _INSMNGR_SOURCE_ 51 #define LOCALE 52 #else 53 #define LOCALE extern 54 #endif 55 56 LOCALE void InitializeInstanceCommand(void *,DATA_OBJECT *); 57 LOCALE void MakeInstanceCommand(void *,DATA_OBJECT *); 58 LOCALE SYMBOL_HN *GetFullInstanceName(void *,INSTANCE_TYPE *); 59 LOCALE INSTANCE_TYPE *BuildInstance(void *,SYMBOL_HN *,DEFCLASS *,intBool); 60 LOCALE void InitSlotsCommand(void *,DATA_OBJECT *); 61 LOCALE intBool QuashInstance(void *,INSTANCE_TYPE *); 62 63 #if DEFRULE_CONSTRUCT && OBJECT_SYSTEM 64 LOCALE void InactiveInitializeInstance(void *,DATA_OBJECT *); 65 LOCALE void InactiveMakeInstance(void *,DATA_OBJECT *); 66 #endif 67 68 #endif /* _H_insmngr */ 69 70 71 72 73 74 75 76