summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-09-24 17:19:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-09-24 17:19:17 (GMT)
commitd979bd019aca7a87ce8bb62692fb3ebb66ff0117 (patch)
tree8c25d3456f57e38994d5034ccac367a80c252cdb /generic/tclDecls.h
parent4b18bbd6f4b8ba02af4fc3d8fe895b61280246c2 (diff)
downloadtcl-d979bd019aca7a87ce8bb62692fb3ebb66ff0117.zip
tcl-d979bd019aca7a87ce8bb62692fb3ebb66ff0117.tar.gz
tcl-d979bd019aca7a87ce8bb62692fb3ebb66ff0117.tar.bz2
TIP #356 IMPLEMENTATION
* generic/tcl.decls: Promote internal routine TclNRSubstObj() * generic/tclCmdMZ.c: to public Tcl_NRSubstObj(). Still needs docs. * generic/tclCompile.c: * generic/tclInt.h: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 032fb75..23061a6 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDecls.h,v 1.171 2009/08/12 16:06:43 dgp Exp $
+ * RCS: @(#) $Id: tclDecls.h,v 1.172 2009/09/24 17:19:18 dgp Exp $
*/
#ifndef _TCLDECLS
@@ -3731,6 +3731,12 @@ EXTERN int Tcl_CloseEx (Tcl_Interp * interp, Tcl_Channel chan,
EXTERN int Tcl_NRExprObj (Tcl_Interp * interp, Tcl_Obj * objPtr,
Tcl_Obj * resultPtr);
#endif
+#ifndef Tcl_NRSubstObj_TCL_DECLARED
+#define Tcl_NRSubstObj_TCL_DECLARED
+/* 626 */
+EXTERN int Tcl_NRSubstObj (Tcl_Interp * interp,
+ Tcl_Obj * objPtr, int flags);
+#endif
typedef struct TclStubHooks {
const struct TclPlatStubs *tclPlatStubs;
@@ -4392,6 +4398,7 @@ typedef struct TclStubs {
Tcl_Obj * (*tcl_GetStartupScript) (const char ** encodingPtr); /* 623 */
int (*tcl_CloseEx) (Tcl_Interp * interp, Tcl_Channel chan, int flags); /* 624 */
int (*tcl_NRExprObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tcl_Obj * resultPtr); /* 625 */
+ int (*tcl_NRSubstObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, int flags); /* 626 */
} TclStubs;
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
@@ -6926,6 +6933,10 @@ extern const TclStubs *tclStubsPtr;
#define Tcl_NRExprObj \
(tclStubsPtr->tcl_NRExprObj) /* 625 */
#endif
+#ifndef Tcl_NRSubstObj
+#define Tcl_NRSubstObj \
+ (tclStubsPtr->tcl_NRSubstObj) /* 626 */
+#endif
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */