Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-05-18 08:30:02

0001 /*
0002  * This file is (mostly) automatically generated from itcl.decls.
0003  */
0004 
0005 #ifndef _ITCLDECLS
0006 #define _ITCLDECLS
0007 
0008 #if defined(USE_ITCL_STUBS)
0009 
0010 ITCLAPI const char *Itcl_InitStubs(
0011     Tcl_Interp *, const char *version, int exact);
0012 #else
0013 
0014 #define Itcl_InitStubs(interp, version, exact) Tcl_PkgRequireEx(interp,"itcl",version,exact,NULL)
0015 
0016 #endif
0017 
0018 
0019 /* !BEGIN!: Do not edit below this line. */
0020 
0021 #define ITCL_STUBS_EPOCH 0
0022 #define ITCL_STUBS_REVISION 152
0023 
0024 #ifdef __cplusplus
0025 extern "C" {
0026 #endif
0027 
0028 /*
0029  * Exported function declarations:
0030  */
0031 
0032 /* Slot 0 is reserved */
0033 /* Slot 1 is reserved */
0034 /* 2 */
0035 ITCLAPI int     Itcl_RegisterC(Tcl_Interp *interp, const char *name,
0036                 Tcl_CmdProc *proc, ClientData clientData,
0037                 Tcl_CmdDeleteProc *deleteProc);
0038 /* 3 */
0039 ITCLAPI int     Itcl_RegisterObjC(Tcl_Interp *interp,
0040                 const char *name, Tcl_ObjCmdProc *proc,
0041                 ClientData clientData,
0042                 Tcl_CmdDeleteProc *deleteProc);
0043 /* 4 */
0044 ITCLAPI int     Itcl_FindC(Tcl_Interp *interp, const char *name,
0045                 Tcl_CmdProc **argProcPtr,
0046                 Tcl_ObjCmdProc **objProcPtr,
0047                 ClientData *cDataPtr);
0048 /* 5 */
0049 ITCLAPI void        Itcl_InitStack(Itcl_Stack *stack);
0050 /* 6 */
0051 ITCLAPI void        Itcl_DeleteStack(Itcl_Stack *stack);
0052 /* 7 */
0053 ITCLAPI void        Itcl_PushStack(ClientData cdata, Itcl_Stack *stack);
0054 /* 8 */
0055 ITCLAPI ClientData  Itcl_PopStack(Itcl_Stack *stack);
0056 /* 9 */
0057 ITCLAPI ClientData  Itcl_PeekStack(Itcl_Stack *stack);
0058 /* 10 */
0059 ITCLAPI ClientData  Itcl_GetStackValue(Itcl_Stack *stack, int pos);
0060 /* 11 */
0061 ITCLAPI void        Itcl_InitList(Itcl_List *listPtr);
0062 /* 12 */
0063 ITCLAPI void        Itcl_DeleteList(Itcl_List *listPtr);
0064 /* 13 */
0065 ITCLAPI Itcl_ListElem *  Itcl_CreateListElem(Itcl_List *listPtr);
0066 /* 14 */
0067 ITCLAPI Itcl_ListElem *  Itcl_DeleteListElem(Itcl_ListElem *elemPtr);
0068 /* 15 */
0069 ITCLAPI Itcl_ListElem *  Itcl_InsertList(Itcl_List *listPtr, ClientData val);
0070 /* 16 */
0071 ITCLAPI Itcl_ListElem *  Itcl_InsertListElem(Itcl_ListElem *pos,
0072                 ClientData val);
0073 /* 17 */
0074 ITCLAPI Itcl_ListElem *  Itcl_AppendList(Itcl_List *listPtr, ClientData val);
0075 /* 18 */
0076 ITCLAPI Itcl_ListElem *  Itcl_AppendListElem(Itcl_ListElem *pos,
0077                 ClientData val);
0078 /* 19 */
0079 ITCLAPI void        Itcl_SetListValue(Itcl_ListElem *elemPtr,
0080                 ClientData val);
0081 /* 20 */
0082 ITCLAPI void        Itcl_EventuallyFree(ClientData cdata,
0083                 Tcl_FreeProc *fproc);
0084 /* 21 */
0085 ITCLAPI void        Itcl_PreserveData(ClientData cdata);
0086 /* 22 */
0087 ITCLAPI void        Itcl_ReleaseData(ClientData cdata);
0088 /* 23 */
0089 ITCLAPI Itcl_InterpState Itcl_SaveInterpState(Tcl_Interp *interp, int status);
0090 /* 24 */
0091 ITCLAPI int     Itcl_RestoreInterpState(Tcl_Interp *interp,
0092                 Itcl_InterpState state);
0093 /* 25 */
0094 ITCLAPI void        Itcl_DiscardInterpState(Itcl_InterpState state);
0095 /* 26 */
0096 ITCLAPI void *      Itcl_Alloc(size_t size);
0097 /* 27 */
0098 ITCLAPI void        Itcl_Free(void *ptr);
0099 
0100 typedef struct {
0101     const struct ItclIntStubs *itclIntStubs;
0102 } ItclStubHooks;
0103 
0104 typedef struct ItclStubs {
0105     int magic;
0106     int epoch;
0107     int revision;
0108     const ItclStubHooks *hooks;
0109 
0110     void (*reserved0)(void);
0111     void (*reserved1)(void);
0112     int (*itcl_RegisterC) (Tcl_Interp *interp, const char *name, Tcl_CmdProc *proc, ClientData clientData, Tcl_CmdDeleteProc *deleteProc); /* 2 */
0113     int (*itcl_RegisterObjC) (Tcl_Interp *interp, const char *name, Tcl_ObjCmdProc *proc, ClientData clientData, Tcl_CmdDeleteProc *deleteProc); /* 3 */
0114     int (*itcl_FindC) (Tcl_Interp *interp, const char *name, Tcl_CmdProc **argProcPtr, Tcl_ObjCmdProc **objProcPtr, ClientData *cDataPtr); /* 4 */
0115     void (*itcl_InitStack) (Itcl_Stack *stack); /* 5 */
0116     void (*itcl_DeleteStack) (Itcl_Stack *stack); /* 6 */
0117     void (*itcl_PushStack) (ClientData cdata, Itcl_Stack *stack); /* 7 */
0118     ClientData (*itcl_PopStack) (Itcl_Stack *stack); /* 8 */
0119     ClientData (*itcl_PeekStack) (Itcl_Stack *stack); /* 9 */
0120     ClientData (*itcl_GetStackValue) (Itcl_Stack *stack, int pos); /* 10 */
0121     void (*itcl_InitList) (Itcl_List *listPtr); /* 11 */
0122     void (*itcl_DeleteList) (Itcl_List *listPtr); /* 12 */
0123     Itcl_ListElem * (*itcl_CreateListElem) (Itcl_List *listPtr); /* 13 */
0124     Itcl_ListElem * (*itcl_DeleteListElem) (Itcl_ListElem *elemPtr); /* 14 */
0125     Itcl_ListElem * (*itcl_InsertList) (Itcl_List *listPtr, ClientData val); /* 15 */
0126     Itcl_ListElem * (*itcl_InsertListElem) (Itcl_ListElem *pos, ClientData val); /* 16 */
0127     Itcl_ListElem * (*itcl_AppendList) (Itcl_List *listPtr, ClientData val); /* 17 */
0128     Itcl_ListElem * (*itcl_AppendListElem) (Itcl_ListElem *pos, ClientData val); /* 18 */
0129     void (*itcl_SetListValue) (Itcl_ListElem *elemPtr, ClientData val); /* 19 */
0130     void (*itcl_EventuallyFree) (ClientData cdata, Tcl_FreeProc *fproc); /* 20 */
0131     void (*itcl_PreserveData) (ClientData cdata); /* 21 */
0132     void (*itcl_ReleaseData) (ClientData cdata); /* 22 */
0133     Itcl_InterpState (*itcl_SaveInterpState) (Tcl_Interp *interp, int status); /* 23 */
0134     int (*itcl_RestoreInterpState) (Tcl_Interp *interp, Itcl_InterpState state); /* 24 */
0135     void (*itcl_DiscardInterpState) (Itcl_InterpState state); /* 25 */
0136     void * (*itcl_Alloc) (size_t size); /* 26 */
0137     void (*itcl_Free) (void *ptr); /* 27 */
0138 } ItclStubs;
0139 
0140 extern const ItclStubs *itclStubsPtr;
0141 
0142 #ifdef __cplusplus
0143 }
0144 #endif
0145 
0146 #if defined(USE_ITCL_STUBS)
0147 
0148 /*
0149  * Inline function declarations:
0150  */
0151 
0152 /* Slot 0 is reserved */
0153 /* Slot 1 is reserved */
0154 #define Itcl_RegisterC \
0155     (itclStubsPtr->itcl_RegisterC) /* 2 */
0156 #define Itcl_RegisterObjC \
0157     (itclStubsPtr->itcl_RegisterObjC) /* 3 */
0158 #define Itcl_FindC \
0159     (itclStubsPtr->itcl_FindC) /* 4 */
0160 #define Itcl_InitStack \
0161     (itclStubsPtr->itcl_InitStack) /* 5 */
0162 #define Itcl_DeleteStack \
0163     (itclStubsPtr->itcl_DeleteStack) /* 6 */
0164 #define Itcl_PushStack \
0165     (itclStubsPtr->itcl_PushStack) /* 7 */
0166 #define Itcl_PopStack \
0167     (itclStubsPtr->itcl_PopStack) /* 8 */
0168 #define Itcl_PeekStack \
0169     (itclStubsPtr->itcl_PeekStack) /* 9 */
0170 #define Itcl_GetStackValue \
0171     (itclStubsPtr->itcl_GetStackValue) /* 10 */
0172 #define Itcl_InitList \
0173     (itclStubsPtr->itcl_InitList) /* 11 */
0174 #define Itcl_DeleteList \
0175     (itclStubsPtr->itcl_DeleteList) /* 12 */
0176 #define Itcl_CreateListElem \
0177     (itclStubsPtr->itcl_CreateListElem) /* 13 */
0178 #define Itcl_DeleteListElem \
0179     (itclStubsPtr->itcl_DeleteListElem) /* 14 */
0180 #define Itcl_InsertList \
0181     (itclStubsPtr->itcl_InsertList) /* 15 */
0182 #define Itcl_InsertListElem \
0183     (itclStubsPtr->itcl_InsertListElem) /* 16 */
0184 #define Itcl_AppendList \
0185     (itclStubsPtr->itcl_AppendList) /* 17 */
0186 #define Itcl_AppendListElem \
0187     (itclStubsPtr->itcl_AppendListElem) /* 18 */
0188 #define Itcl_SetListValue \
0189     (itclStubsPtr->itcl_SetListValue) /* 19 */
0190 #define Itcl_EventuallyFree \
0191     (itclStubsPtr->itcl_EventuallyFree) /* 20 */
0192 #define Itcl_PreserveData \
0193     (itclStubsPtr->itcl_PreserveData) /* 21 */
0194 #define Itcl_ReleaseData \
0195     (itclStubsPtr->itcl_ReleaseData) /* 22 */
0196 #define Itcl_SaveInterpState \
0197     (itclStubsPtr->itcl_SaveInterpState) /* 23 */
0198 #define Itcl_RestoreInterpState \
0199     (itclStubsPtr->itcl_RestoreInterpState) /* 24 */
0200 #define Itcl_DiscardInterpState \
0201     (itclStubsPtr->itcl_DiscardInterpState) /* 25 */
0202 #define Itcl_Alloc \
0203     (itclStubsPtr->itcl_Alloc) /* 26 */
0204 #define Itcl_Free \
0205     (itclStubsPtr->itcl_Free) /* 27 */
0206 
0207 #endif /* defined(USE_ITCL_STUBS) */
0208 
0209 /* !END!: Do not edit above this line. */
0210 
0211 #endif /* _ITCLDECLS */