summaryrefslogtreecommitdiff
path: root/src/prcdrfun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prcdrfun.h')
-rw-r--r--src/prcdrfun.h25
1 files changed, 19 insertions, 6 deletions
diff --git a/src/prcdrfun.h b/src/prcdrfun.h
index b1da4f1..c884377 100644
--- a/src/prcdrfun.h
+++ b/src/prcdrfun.h
@@ -1,7 +1,7 @@
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
- /* CLIPS Version 6.24 06/05/06 */
+ /* CLIPS Version 6.30 08/16/14 */
/* */
/* PROCEDURAL FUNCTIONS HEADER FILE */
/*******************************************************/
@@ -11,14 +11,27 @@
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
-/* Brian L. Donnell */
+/* Brian L. Dantes */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
+/* 6.23: Correction for FalseSymbol/TrueSymbol. DR0859 */
+/* */
+/* Changed name of variable exp to theExp */
+/* because of Unix compiler warnings of shadowed */
+/* definitions. */
+/* */
/* 6.24: Renamed BOOLEAN macro type to intBool. */
/* */
+/* 6.30: Local variables set with the bind function */
+/* persist until a reset/clear command is issued. */
+/* */
+/* Changed garbage collection algorithm. */
+/* */
+/* Support for long long integers. */
+/* */
/*************************************************************/
#ifndef _H_prcdrfun
@@ -41,14 +54,14 @@
typedef struct loopCounterStack
{
- long loopCounter;
+ long long loopCounter;
struct loopCounterStack *nxt;
} LOOP_COUNTER_STACK;
#define PRCDRFUN_DATA 13
struct procedureFunctionData
- {
+ {
int ReturnFlag;
int BreakFlag;
LOOP_COUNTER_STACK *LoopCounterStack;
@@ -60,7 +73,7 @@ struct procedureFunctionData
LOCALE void ProceduralFunctionDefinitions(void *);
LOCALE void WhileFunction(void *,DATA_OBJECT_PTR);
LOCALE void LoopForCountFunction(void *,DATA_OBJECT_PTR);
- LOCALE long GetLoopCount(void *);
+ LOCALE long long GetLoopCount(void *);
LOCALE void IfFunction(void *,DATA_OBJECT_PTR);
LOCALE void BindFunction(void *,DATA_OBJECT_PTR);
LOCALE void PrognFunction(void *,DATA_OBJECT_PTR);
@@ -70,7 +83,7 @@ struct procedureFunctionData
LOCALE intBool GetBoundVariable(void *,struct dataObject *,struct symbolHashNode *);
LOCALE void FlushBindList(void *);
-#endif
+#endif /* _H_prcdrfun */