File: clips_or.h

package info (click to toggle)
python-clips 1.0.7.348%2Bclips-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,376 kB
  • ctags: 2,544
  • sloc: ansic: 17,065; python: 5,668; sh: 20; makefile: 12
file content (37 lines) | stat: -rw-r--r-- 1,138 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* clips_or.h
 * Header for functions from CLIPS explicitly reimplemented for PyCLIPS:
 * depending on how CLIPS changes in time, some functions may appear or
 * disappear (or be conditionally defined) from here.
 * $Id: clips_or.h 340 2008-02-21 00:39:34Z Franz $
 */


#ifndef BOOLEAN
#ifdef intBool
#define BOOLEAN intBool
#else /* intBool */
#define BOOLEAN int
#endif /* intBool */
#endif  /* BOOLEAN */


#if ENVIRONMENT_API_ONLY
#define Matches_PY(theEnv,s,a) EnvMatches_PY(theEnv,s,a)
#define Clear_PY(theEnv) EnvClear_PY(theEnv)
#define GetNextInstanceInClassAndSubclasses_PY(theEnv,a,b,c) \
        EnvGetNextInstanceInClassAndSubclasses_PY(theEnv,a,b,c)
#else
#define Matches_PY(s,a) EnvMatches_PY(GetCurrentEnvironment(),s,a)
#define Clear_PY() EnvClear_PY(GetCurrentEnvironment())
#define GetNextInstanceInClassAndSubclasses_PY(a,b,c) \
        EnvGetNextInstanceInClassAndSubclasses_PY(GetCurrentEnvironment(),a,b,c)
#endif


LOCALE BOOLEAN EnvMatches_PY(void *,char *,void *);
LOCALE BOOLEAN EnvClear_PY(void *);
LOCALE void *EnvGetNextInstanceInClassAndSubclasses_PY(
    void *,void *,void *,DATA_OBJECT *);


/* end. */