itcl2TclOO.h 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _TCLINT
  2. typedef void (ProcErrorProc)(Tcl_Interp *interp, Tcl_Obj *procNameObj);
  3. #endif
  4. #ifndef TCL_OO_INTERNAL_H
  5. typedef int (TclOO_PreCallProc)(ClientData clientData, Tcl_Interp *interp,
  6. Tcl_ObjectContext context, Tcl_CallFrame *framePtr, int *isFinished);
  7. typedef int (TclOO_PostCallProc)(ClientData clientData, Tcl_Interp *interp,
  8. Tcl_ObjectContext context, Tcl_Namespace *namespacePtr, int result);
  9. #endif
  10. MODULE_SCOPE int Itcl_NRRunCallbacks(Tcl_Interp *interp, void *rootPtr);
  11. MODULE_SCOPE void * Itcl_GetCurrentCallbackPtr(Tcl_Interp *interp);
  12. MODULE_SCOPE Tcl_Method Itcl_NewProcClassMethod(Tcl_Interp *interp, Tcl_Class clsPtr,
  13. TclOO_PreCallProc *preCallPtr, TclOO_PostCallProc *postCallPtr,
  14. ProcErrorProc *errProc, ClientData clientData, Tcl_Obj *nameObj,
  15. Tcl_Obj *argsObj, Tcl_Obj *bodyObj, ClientData *clientData2);
  16. MODULE_SCOPE Tcl_Method Itcl_NewProcMethod(Tcl_Interp *interp, Tcl_Object oPtr,
  17. TclOO_PreCallProc *preCallPtr, TclOO_PostCallProc *postCallPtr,
  18. ProcErrorProc *errProc, ClientData clientData, Tcl_Obj *nameObj,
  19. Tcl_Obj *argsObj, Tcl_Obj *bodyObj, ClientData *clientData2);
  20. MODULE_SCOPE int Itcl_PublicObjectCmd(ClientData clientData, Tcl_Interp *interp,
  21. Tcl_Class clsPtr, int objc, Tcl_Obj *const *objv);
  22. MODULE_SCOPE Tcl_Method Itcl_NewForwardClassMethod(Tcl_Interp *interp,
  23. Tcl_Class clsPtr, int flags, Tcl_Obj *nameObj, Tcl_Obj *prefixObj);
  24. MODULE_SCOPE int Itcl_SelfCmd(ClientData clientData, Tcl_Interp *interp,
  25. int objc, Tcl_Obj *const *objv);
  26. MODULE_SCOPE int Itcl_IsMethodCallFrame(Tcl_Interp *interp);
  27. MODULE_SCOPE int Itcl_InvokeEnsembleMethod(Tcl_Interp *interp, Tcl_Namespace *nsPtr,
  28. Tcl_Obj *namePtr, Tcl_Proc *procPtr, int objc, Tcl_Obj *const *objv);
  29. MODULE_SCOPE int Itcl_InvokeProcedureMethod(ClientData clientData, Tcl_Interp *interp,
  30. int objc, Tcl_Obj *const *objv);