1 /*******************************************************/
2 /* "C" Language Integrated Production System */
3 /* */
4 /* CLIPS Version 6.30 08/16/14 */
5 /* */
6 /* USER FUNCTIONS MODULE */
7 /*******************************************************/
8
9 /*************************************************************/
10 /* Purpose: */
11 /* */
12 /* Principal Programmer(s): */
13 /* Gary D. Riley */
14 /* */
15 /* Contributing Programmer(s): */
16 /* */
17 /* Revision History: */
18 /* */
19 /* 6.24: Created file to seperate UserFunctions and */
20 /* EnvUserFunctions from main.c. */
21 /* */
22 /* 6.30: Removed conditional code for unsupported */
23 /* compilers/operating systems (IBM_MCW, */
24 /* MAC_MCW, and IBM_TBC). */
25 /* */
26 /*************************************************************/
27
28 /***************************************************************************/
29 /* */
30 /* Permission is hereby granted, free of charge, to any person obtaining */
31 /* a copy of this software and associated documentation files (the */
32 /* "Software"), to deal in the Software without restriction, including */
33 /* without limitation the rights to use, copy, modify, merge, publish, */
34 /* distribute, and/or sell copies of the Software, and to permit persons */
35 /* to whom the Software is furnished to do so. */
36 /* */
37 /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS */
38 /* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
39 /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT */
40 /* OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY */
41 /* CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES */
42 /* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN */
43 /* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF */
44 /* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
45 /* */
46 /***************************************************************************/
47
48 #include "clips.h"
49
50 void UserFunctions(void);
51 void EnvUserFunctions(void *);
52
53 /*********************************************************/
54 /* UserFunctions: Informs the expert system environment */
55 /* of any user defined functions. In the default case, */
56 /* there are no user defined functions. To define */
57 /* functions, either this function must be replaced by */
58 /* a function with the same name within this file, or */
59 /* this function can be deleted from this file and */
60 /* included in another file. */
61 /*********************************************************/
UserFunctions()62 void UserFunctions()
63 {
64 // Use of UserFunctions is deprecated.
65 // Use EnvUserFunctions instead.
66 }
67
68 /***********************************************************/
69 /* EnvUserFunctions: Informs the expert system environment */
70 /* of any user defined functions. In the default case, */
71 /* there are no user defined functions. To define */
72 /* functions, either this function must be replaced by */
73 /* a function with the same name within this file, or */
74 /* this function can be deleted from this file and */
75 /* included in another file. */
76 /***********************************************************/
EnvUserFunctions(void * environment)77 void EnvUserFunctions(
78 void *environment)
79 {
80 #if MAC_XCD
81 #pragma unused(environment)
82 #endif
83 }
84
85