diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-12-10 00:16:52 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-12-10 00:16:52 (GMT) |
commit | 38a95a62dcb1fc490f1d0b553eff6a0ddd209bb4 (patch) | |
tree | dc8c35ac8f0db5ee2d25409be32c718705e628eb /generic/tclInt.h | |
parent | 56209988fa757db620d229b6e60c958a9f8e2d96 (diff) | |
download | tcl-38a95a62dcb1fc490f1d0b553eff6a0ddd209bb4.zip tcl-38a95a62dcb1fc490f1d0b553eff6a0ddd209bb4.tar.gz tcl-38a95a62dcb1fc490f1d0b553eff6a0ddd209bb4.tar.bz2 |
Make ensemble API available to rest of Tcl core.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index e7c400f..c163c2b 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.203 2004/12/04 21:19:18 dgp Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.204 2004/12/10 00:16:55 dkf Exp $ */ #ifndef _TCLINT @@ -2008,7 +2008,41 @@ MODULE_SCOPE int TclpDlopen _ANSI_ARGS_((Tcl_Interp *interp, Tcl_FSUnloadFileProc **unloadProcPtr)); MODULE_SCOPE int TclpUtime _ANSI_ARGS_((Tcl_Obj *pathPtr, struct utimbuf *tval)); +/* + * These declarations ought to be exposed in a TIP (i.e. gain a '_' in + * their names and move to tcl.decls). + */ MODULE_SCOPE int TclIsEnsemble _ANSI_ARGS_((Command *cmdPtr)); +MODULE_SCOPE Tcl_Command TclMakeEnsembleCmd _ANSI_ARGS_(( + Tcl_Interp *interp, CONST char *name, + Tcl_Namespace *namespacePtr, int flags)); +MODULE_SCOPE Tcl_Command TclFindEnsemble _ANSI_ARGS_((Tcl_Interp *interp, + Tcl_Obj *cmdNameObj, int flags)); +MODULE_SCOPE int TclSetEnsembleSubcommandList _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj *subcmdList)); +MODULE_SCOPE int TclSetEnsembleMappingDict _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj *mapDict)); +MODULE_SCOPE int TclSetEnsembleUnknownHandler _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj *unknownList)); +MODULE_SCOPE int TclSetEnsembleFlags _ANSI_ARGS_((Tcl_Interp *interp, + Tcl_Command token, int flags)); +MODULE_SCOPE int TclGetEnsembleSubcommandList _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj **subcmdList)); +MODULE_SCOPE int TclGetEnsembleMappingDict _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj **mapDict)); +MODULE_SCOPE int TclGetEnsembleUnknownHandler _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Obj **unknownList)); +MODULE_SCOPE int TclGetEnsembleFlags _ANSI_ARGS_((Tcl_Interp *interp, + Tcl_Command token, int *flags)); +MODULE_SCOPE int TclGetEnsembleNamespace _ANSI_ARGS_(( + Tcl_Interp *interp, Tcl_Command token, + Tcl_Namespace **namespacePtrPtr)); /* *---------------------------------------------------------------- |