summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-12-02 19:40:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-12-02 19:40:40 (GMT)
commit46ba97a82bfb00034073d7334903cc1417a836dc (patch)
tree6f599afa8fd14946dfce722886ee48d15e2f5046 /generic/tcl.decls
parent2dfd8ade3922490eb358d6d3d64d6f6f19c5192c (diff)
downloadtcl-46ba97a82bfb00034073d7334903cc1417a836dc.zip
tcl-46ba97a82bfb00034073d7334903cc1417a836dc.tar.gz
tcl-46ba97a82bfb00034073d7334903cc1417a836dc.tar.bz2
TIP #336 IMPLEMENTATION
* generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls10
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 715c2ad..b294b91 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -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: tcl.decls,v 1.154 2008/11/17 22:15:34 nijtmans Exp $
+# RCS: @(#) $Id: tcl.decls,v 1.155 2008/12/02 19:40:40 dgp Exp $
library tcl
@@ -2204,6 +2204,14 @@ declare 604 generic {
int *objcPtr, Tcl_Obj *const *objv, Tcl_Obj ***remObjv)
}
+# TIP 335
+declare 605 generic {
+ int Tcl_GetErrorLine(Tcl_Interp *interp)
+}
+declare 606 generic {
+ void Tcl_SetErrorLine(Tcl_Interp *interp, int value)
+}
+
##############################################################################
# Define the platform specific public Tcl interface. These functions are