summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-10-06 02:59:03 (GMT)
committerstanton <stanton>1998-10-06 02:59:03 (GMT)
commitdea1447fbb13d6919f12d85e453da2ce5bec8aab (patch)
treef7db01ee81a9a8c6619295f26901c6c274af940b /unix/tclAppInit.c
parent0f8b9130ec96b8ef7ba2abe8b6d6a60cf98707fe (diff)
downloadtcl-dea1447fbb13d6919f12d85e453da2ce5bec8aab.zip
tcl-dea1447fbb13d6919f12d85e453da2ce5bec8aab.tar.gz
tcl-dea1447fbb13d6919f12d85e453da2ce5bec8aab.tar.bz2
merged 8.0.4 changes into 8.1 branch
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 496f33d..90c7aa6 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAppInit.c,v 1.1.2.2 1998/09/24 23:59:43 stanton Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.1.2.3 1998/10/06 02:59:06 stanton Exp $
*/
#ifdef TCL_XT_TEST
@@ -32,6 +32,8 @@ int *tclDummyMathPtr = (int *) matherr;
#include "tclInt.h"
+EXTERN int Procbodytest_Init _ANSI_ARGS_((Tcl_Interp *interp));
+EXTERN int Procbodytest_SafeInit _ANSI_ARGS_((Tcl_Interp *interp));
EXTERN int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp));
EXTERN int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
#ifdef TCL_THREADS
@@ -130,6 +132,11 @@ Tcl_AppInit(interp)
return TCL_ERROR;
}
#endif
+ if (Procbodytest_Init(interp) == TCL_ERROR) {
+ return TCL_ERROR;
+ }
+ Tcl_StaticPackage(interp, "procbodytest", Procbodytest_Init,
+ Procbodytest_SafeInit);
#endif /* TCL_TEST */
/*