itclTclIntStubsFcn.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* these functions are Tcl internal stubs so make an Itcl_* wrapper */
  2. MODULE_SCOPE void Itcl_GetVariableFullName (Tcl_Interp * interp,
  3. Tcl_Var variable, Tcl_Obj * objPtr);
  4. MODULE_SCOPE Tcl_Var Itcl_FindNamespaceVar (Tcl_Interp * interp,
  5. const char * name, Tcl_Namespace * contextNsPtr, int flags);
  6. MODULE_SCOPE void Itcl_SetNamespaceResolvers (Tcl_Namespace * namespacePtr,
  7. Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc,
  8. Tcl_ResolveCompiledVarProc * compiledVarProc);
  9. #ifndef _TCL_PROC_DEFINED
  10. typedef struct Tcl_Proc_ *Tcl_Proc;
  11. #define _TCL_PROC_DEFINED 1
  12. #endif
  13. #ifndef _TCL_RESOLVE_DEFINED
  14. struct Tcl_Resolve;
  15. #endif
  16. #define Tcl_GetOriginalCommand _Tcl_GetOriginalCommand
  17. #define Tcl_CreateProc _Tcl_CreateProc
  18. #define Tcl_ProcDeleteProc _Tcl_ProcDeleteProc
  19. #define Tcl_GetObjInterpProc _Tcl_GetObjInterpProc
  20. MODULE_SCOPE Tcl_Command _Tcl_GetOriginalCommand(Tcl_Command command);
  21. MODULE_SCOPE int _Tcl_CreateProc(Tcl_Interp *interp, Tcl_Namespace *nsPtr,
  22. const char *procName, Tcl_Obj *argsPtr, Tcl_Obj *bodyPtr,
  23. Tcl_Proc *procPtrPtr);
  24. MODULE_SCOPE void _Tcl_ProcDeleteProc(ClientData clientData);
  25. MODULE_SCOPE Tcl_ObjCmdProc *_Tcl_GetObjInterpProc(void);
  26. MODULE_SCOPE int Tcl_RenameCommand(Tcl_Interp *interp, const char *oldName,
  27. const char *newName);
  28. MODULE_SCOPE Tcl_HashTable *Itcl_GetNamespaceChildTable(Tcl_Namespace *nsPtr);
  29. MODULE_SCOPE Tcl_HashTable *Itcl_GetNamespaceCommandTable(Tcl_Namespace *nsPtr);
  30. MODULE_SCOPE int Itcl_InitRewriteEnsemble(Tcl_Interp *interp, int numRemoved,
  31. int numInserted, int objc, Tcl_Obj *const *objv);
  32. MODULE_SCOPE void Itcl_ResetRewriteEnsemble(Tcl_Interp *interp,
  33. int isRootEnsemble);