1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 /* 9 * $Header: /src/master/dx/src/exec/dpexec/_macro.h,v 1.6 2004/06/09 16:14:27 davidt Exp $ 10 */ 11 12 #include <dxconfig.h> 13 14 15 #if 0 16 These access methods are used to operate on dictionary entries which are 17 macro and function definitions. The macro definitions are actually stored 18 as parse trees to facilitate their inclusion upon execution. Function 19 definitions are stored as a pointer to a function. Each of the definitions 20 are wrapped in a parse node to store additional information such as 21 number of inputs and their names and number of outputs and their names. 22 #endif 23 24 #ifndef __MACRO_H 25 #define __MACRO_H 26 27 #include "d.h" 28 29 #if defined(__cplusplus) || defined(c_plusplus) 30 extern "C" { 31 #endif 32 33 Error _dxf_ExMacroInit (void); 34 int _dxf_ExMacroInsert (char *name, EXObj obj); 35 int _dxf_ExMacroDelete (char *name); 36 EXObj _dxf_ExMacroSearch (char *name); 37 38 extern EXDictionary _dxd_exMacroDict; /* defined in macro.c */ 39 40 #if defined(__cplusplus) || defined(c_plusplus) 41 } 42 #endif 43 44 #endif /* __MACRO_H */ 45