summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-11-07 08:03:10 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-11-07 08:03:10 (GMT)
commitf8e5b831eb74f672ae7014b35326835568fc0bf4 (patch)
treece8aaef67aa0fe96f08821954b71216a91a10eea /generic/tcl.h
parenta9b0607b9617e10428f5cd7a8d574e8c02cd922a (diff)
downloadtcl-f8e5b831eb74f672ae7014b35326835568fc0bf4.zip
tcl-f8e5b831eb74f672ae7014b35326835568fc0bf4.tar.gz
tcl-f8e5b831eb74f672ae7014b35326835568fc0bf4.tar.bz2
Finish the TIP #416 implementation as specified (#define's were still missing). Added warning to "load" documentation. Added test case for using -global without specifying filename.
FossilOrigin-Name: 6c3f682fbffebb9031d6a55133cc3df2264db484
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 3f9f06a..c2159f7 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2364,6 +2364,14 @@ typedef int (Tcl_ArgvGenFuncProc)(ClientData clientData, Tcl_Interp *interp,
/*
*----------------------------------------------------------------------------
+ * Definitions needed for the Tcl_LoadFile function. [TIP #416]
+ */
+
+#define TCL_LOAD_GLOBAL 1
+#define TCL_LOAD_LAZY 2
+
+/*
+ *----------------------------------------------------------------------------
* Single public declaration for NRE.
*/