summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-12-16 14:34:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-12-16 14:34:56 (GMT)
commit037500d28aee14c1ac5aafce81d2fb69bef43059 (patch)
tree1b70d9edc5037cd49510094a56730a9a364ec1c6 /generic/tclDecls.h
parent8f9f6a2a1711e1e976243069a558fa11cf47209f (diff)
downloadtcl-037500d28aee14c1ac5aafce81d2fb69bef43059.zip
tcl-037500d28aee14c1ac5aafce81d2fb69bef43059.tar.gz
tcl-037500d28aee14c1ac5aafce81d2fb69bef43059.tar.bz2
* generic/tcl.h: Add TIP 338 routines to stub table.
* generic/tcl.decls: [Bug 2431338]. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 8c58b9c..c7e0286 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.162 2008/12/15 18:33:25 dgp Exp $
+ * RCS: @(#) $Id: tclDecls.h,v 1.163 2008/12/16 14:34:56 dgp Exp $
*/
#ifndef _TCLDECLS
@@ -3758,6 +3758,17 @@ EXTERN int Tcl_ZlibStreamClose (Tcl_ZlibStream zshandle);
/* 621 */
EXTERN int Tcl_ZlibStreamReset (Tcl_ZlibStream zshandle);
#endif
+#ifndef Tcl_SetStartupScript_TCL_DECLARED
+#define Tcl_SetStartupScript_TCL_DECLARED
+/* 622 */
+EXTERN void Tcl_SetStartupScript (Tcl_Obj * path,
+ const char * encoding);
+#endif
+#ifndef Tcl_GetStartupScript_TCL_DECLARED
+#define Tcl_GetStartupScript_TCL_DECLARED
+/* 623 */
+EXTERN Tcl_Obj * Tcl_GetStartupScript (const char ** encodingPtr);
+#endif
typedef struct TclStubHooks {
const struct TclPlatStubs *tclPlatStubs;
@@ -4439,6 +4450,8 @@ typedef struct TclStubs {
int (*tcl_ZlibStreamGet) (Tcl_ZlibStream zshandle, Tcl_Obj * data, int count); /* 619 */
int (*tcl_ZlibStreamClose) (Tcl_ZlibStream zshandle); /* 620 */
int (*tcl_ZlibStreamReset) (Tcl_ZlibStream zshandle); /* 621 */
+ void (*tcl_SetStartupScript) (Tcl_Obj * path, const char * encoding); /* 622 */
+ Tcl_Obj * (*tcl_GetStartupScript) (const char ** encodingPtr); /* 623 */
} TclStubs;
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
@@ -6999,6 +7012,14 @@ extern const TclStubs *tclStubsPtr;
#define Tcl_ZlibStreamReset \
(tclStubsPtr->tcl_ZlibStreamReset) /* 621 */
#endif
+#ifndef Tcl_SetStartupScript
+#define Tcl_SetStartupScript \
+ (tclStubsPtr->tcl_SetStartupScript) /* 622 */
+#endif
+#ifndef Tcl_GetStartupScript
+#define Tcl_GetStartupScript \
+ (tclStubsPtr->tcl_GetStartupScript) /* 623 */
+#endif
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */