summaryrefslogtreecommitdiff
path: root/src/strngfun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/strngfun.h')
-rw-r--r--src/strngfun.h43
1 files changed, 30 insertions, 13 deletions
diff --git a/src/strngfun.h b/src/strngfun.h
index 958a04f..c3b63db 100644
--- a/src/strngfun.h
+++ b/src/strngfun.h
@@ -1,7 +1,7 @@
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
- /* CLIPS Version 6.21 06/15/03 */
+ /* CLIPS Version 6.30 08/16/14 */
/* */
/* STRING FUNCTIONS HEADER FILE */
/*******************************************************/
@@ -16,6 +16,26 @@
/* */
/* Revision History: */
/* */
+/* 6.23: Correction for FalseSymbol/TrueSymbol. DR0859 */
+/* */
+/* 6.30: Support for long long integers. */
+/* */
+/* Removed conditional code for unsupported */
+/* compilers/operating systems (IBM_MCW and */
+/* MAC_MCW). */
+/* */
+/* Used gensprintf instead of sprintf. */
+/* */
+/* Changed integer type/precision. */
+/* */
+/* Changed garbage collection algorithm. */
+/* */
+/* Added support for UTF-8 strings to str-length, */
+/* str-index, and sub-string functions. */
+/* */
+/* Added const qualifiers to remove C++ */
+/* deprecation warnings. */
+/* */
/*************************************************************/
#ifndef _H_strngfun
@@ -36,31 +56,28 @@
#define LOCALE extern
#endif
-#if ENVIRONMENT_API_ONLY
-#define Eval(theEnv,a,b) EnvEval(theEnv,a,b)
-#define Build(theEnv,a) EnvBuild(theEnv,a)
-#else
-#define Eval(a,b) EnvEval(GetCurrentEnvironment(),a,b)
-#define Build(a) EnvBuild(GetCurrentEnvironment(),a)
+#if ALLOW_ENVIRONMENT_GLOBALS
+ LOCALE int Build(const char *);
+ LOCALE int Eval(const char *,DATA_OBJECT_PTR);
#endif
+ LOCALE int EnvBuild(void *,const char *);
+ LOCALE int EnvEval(void *,const char *,DATA_OBJECT_PTR);
LOCALE void StringFunctionDefinitions(void *);
LOCALE void StrCatFunction(void *,DATA_OBJECT_PTR);
LOCALE void SymCatFunction(void *,DATA_OBJECT_PTR);
- LOCALE long int StrLengthFunction(void *);
+ LOCALE long long StrLengthFunction(void *);
LOCALE void UpcaseFunction(void *,DATA_OBJECT_PTR);
LOCALE void LowcaseFunction(void *,DATA_OBJECT_PTR);
- LOCALE long int StrCompareFunction(void *);
+ LOCALE long long StrCompareFunction(void *);
LOCALE void *SubStringFunction(void *);
LOCALE void StrIndexFunction(void *,DATA_OBJECT_PTR);
LOCALE void EvalFunction(void *,DATA_OBJECT_PTR);
- LOCALE int EnvEval(void *,char *,DATA_OBJECT_PTR);
LOCALE int BuildFunction(void *);
- LOCALE int EnvBuild(void *,char *);
LOCALE void StringToFieldFunction(void *,DATA_OBJECT *);
- LOCALE void StringToField(void *,char *,DATA_OBJECT *);
+ LOCALE void StringToField(void *,const char *,DATA_OBJECT *);
-#endif
+#endif /* _H_strngfun */