Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

ZincExtern.hpp

Go to the documentation of this file.
00001 
00015 #include <tcl.h>
00016 
00017 #ifndef ZINC_EXTERN
00018 #define ZINC_EXTERN
00019 
00020 
00021 // those are function have been created within a C compiler
00022 extern "C"
00023 {
00024 
00025   //The TkZinc function that initialises tkzinc
00026   int Tkzinc_Init(Tcl_Interp *interp);
00027 
00028   //The TkZinc function that creates a zinc object
00029   int ZincObjCmd(ClientData client_data,    // Main window associated with interpreter.
00030                  Tcl_Interp *interp,        // Current interpreter. 
00031                  int        argc,           // Number of arguments.
00032                  Tcl_Obj   *CONST  args[]); // Argument objects.
00033 
00034   //The TkZinc function that is called by tcl when calling ".zinc fct ..."
00035   typedef int (*WidgetObjCmd)
00036                    (ClientData client_data,   // Information about the widget.
00037                     Tcl_Interp *interp,       // Current interpreter.
00038                     int        argc,          // Number of arguments.
00039                     Tcl_Obj    *CONST args[]) // Argument objects.
00040           __attribute__((cdecl));
00041 
00042 }
00043 
00044 #endif
00045 

Generated on Mon Apr 18 17:40:44 2005 for IntuiKit by doxygen 1.3.3