summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 10:37:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 10:37:30 (GMT)
commit51db664c7d3fa5bc0a1c216ac3ee89c1eeba6f09 (patch)
tree6cd1984366d92404681d2d61d43d3558ae6c0d17 /generic/tcl.decls
parent4462cc72bb42f0c350c2059a67c357a63220e326 (diff)
parenteae252da83b4af0e55e40abefe4e3d7ff8f1a370 (diff)
downloadtcl-51db664c7d3fa5bc0a1c216ac3ee89c1eeba6f09.zip
tcl-51db664c7d3fa5bc0a1c216ac3ee89c1eeba6f09.tar.gz
tcl-51db664c7d3fa5bc0a1c216ac3ee89c1eeba6f09.tar.bz2
Convert Tcl_GetIndexFromObj implementation to macro
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls9
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 2f1d4ac..c7686a1 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -152,10 +152,11 @@ declare 35 {
int Tcl_GetDoubleFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
double *doublePtr)
}
-declare 36 {
- int Tcl_GetIndexFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
- const char *const *tablePtr, const char *msg, int flags, int *indexPtr)
-}
+# Removed in 9.0
+#declare 36 {
+# int Tcl_GetIndexFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
+# const char *const *tablePtr, const char *msg, int flags, int *indexPtr)
+#}
declare 37 {
int Tcl_GetInt(Tcl_Interp *interp, const char *src, int *intPtr)
}