📄 facthsh.h
字号:
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.24 06/05/06 */ /* */ /* FACT HASHING MODULE */ /*******************************************************//*************************************************************//* Purpose: *//* *//* Principal Programmer(s): *//* Gary D. Riley *//* *//* Contributing Programmer(s): *//* *//* Revision History: *//* *//* 6.24: Renamed BOOLEAN macro type to intBool. *//* *//*************************************************************/#ifndef _H_facthsh#define _H_facthshstruct factHashEntry;#ifndef _H_factmngr#include "factmngr.h"#endifstruct factHashEntry { struct fact *theFact; struct factHashEntry *next; };#define SIZE_FACT_HASH 16231#ifdef LOCALE#undef LOCALE#endif#ifdef _FACTHSH_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ENVIRONMENT_API_ONLY#define GetFactDuplication(theEnv) EnvGetFactDuplication(theEnv)#define SetFactDuplication(theEnv,a) EnvSetFactDuplication(theEnv,a)#else#define GetFactDuplication() EnvGetFactDuplication(GetCurrentEnvironment())#define SetFactDuplication(a) EnvSetFactDuplication(GetCurrentEnvironment(),a)#endif LOCALE void AddHashedFact(void *,struct fact *,unsigned long); LOCALE intBool RemoveHashedFact(void *,struct fact *); LOCALE unsigned long HandleFactDuplication(void *,void *,intBool *); LOCALE intBool EnvGetFactDuplication(void *); LOCALE intBool EnvSetFactDuplication(void *,int); LOCALE void InitializeFactHashTable(void *); LOCALE void ShowFactHashTable(void *); LOCALE unsigned long HashFact(void *,struct fact *);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -