⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 insfile.h

📁 clips源代码
💻 H
字号:
   /*******************************************************/   /*      "C" Language Integrated Production System      */   /*                                                     */   /*               CLIPS Version 6.24  06/05/06          */   /*                                                     */   /*                                                     */   /*******************************************************//*************************************************************//* Purpose:                                                  *//*                                                           *//* Principal Programmer(s):                                  *//*      Brian L. Donnell                                     *//*                                                           *//* Contributing Programmer(s):                               *//*                                                           *//* Revision History:                                         *//*                                                           *//*      6.24: Renamed BOOLEAN macro type to intBool.         *//*                                                           *//*************************************************************/#ifndef _H_insfile#define _H_insfile#ifndef _H_expressn#include "expressn.h"#endif#define INSTANCE_FILE_DATA 30#if BLOAD_INSTANCES || BSAVE_INSTANCESstruct instanceFileData  { #if BLOAD_INSTANCES || BSAVE_INSTANCES   char *InstanceBinaryPrefixID;   char *InstanceBinaryVersionID;   unsigned long BinaryInstanceFileSize;#if BLOAD_INSTANCES   unsigned long BinaryInstanceFileOffset;   char *CurrentReadBuffer;   unsigned long CurrentReadBufferSize;   unsigned long CurrentReadBufferOffset;#endif#endif  };#define InstanceFileData(theEnv) ((struct instanceFileData *) GetEnvironmentData(theEnv,INSTANCE_FILE_DATA))#endif#ifdef LOCALE#undef LOCALE#endif#ifdef _INSFILE_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ENVIRONMENT_API_ONLY#define BinaryLoadInstances(theEnv,a) EnvBinaryLoadInstances(theEnv,a)#define BinarySaveInstances(theEnv,a,b,c,d) EnvBinarySaveInstances(theEnv,a,b,c,d)#define LoadInstances(theEnv,a) EnvLoadInstances(theEnv,a)#define LoadInstancesFromString(theEnv,a,b) EnvLoadInstancesFromString(theEnv,a,b)#define RestoreInstances(theEnv,a) EnvRestoreInstances(theEnv,a)#define RestoreInstancesFromString(theEnv,a,b) EnvRestoreInstancesFromString(theEnv,a,b)#define SaveInstances(theEnv,a,b,c,d) EnvSaveInstances(theEnv,a,b,c,d)#else#define BinaryLoadInstances(a) EnvBinaryLoadInstances(GetCurrentEnvironment(),a)#define BinarySaveInstances(a,b,c,d) EnvBinarySaveInstances(GetCurrentEnvironment(),a,b,c,d)#define LoadInstances(a) EnvLoadInstances(GetCurrentEnvironment(),a)#define LoadInstancesFromString(a,b) EnvLoadInstancesFromString(GetCurrentEnvironment(),a,b)#define RestoreInstances(a) EnvRestoreInstances(GetCurrentEnvironment(),a)#define RestoreInstancesFromString(a,b) EnvRestoreInstancesFromString(GetCurrentEnvironment(),a,b)#define SaveInstances(a,b,c,d) EnvSaveInstances(GetCurrentEnvironment(),a,b,c,d)#endifLOCALE void SetupInstanceFileCommands(void *);LOCALE long SaveInstancesCommand(void *);LOCALE long LoadInstancesCommand(void *);LOCALE long RestoreInstancesCommand(void *);LOCALE long EnvSaveInstances(void *,char *,int,EXPRESSION *,intBool);#if BSAVE_INSTANCESLOCALE long BinarySaveInstancesCommand(void *);LOCALE long EnvBinarySaveInstances(void *,char *,int,EXPRESSION *,intBool);#endif#if BLOAD_INSTANCESLOCALE long BinaryLoadInstancesCommand(void *);LOCALE long EnvBinaryLoadInstances(void *,char *);#endifLOCALE long EnvLoadInstances(void *,char *);LOCALE long EnvLoadInstancesFromString(void *,char *,int);LOCALE long EnvRestoreInstances(void *,char *);LOCALE long EnvRestoreInstancesFromString(void *,char *,int);#ifndef _INSFILE_SOURCE_#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -