summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-20 08:48:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-20 08:48:14 (GMT)
commitb80ec996142154a05a151022b77cbcb38379ca5d (patch)
tree4bf42b360476ff94b2b6f3589fe7e9813b1a8178 /generic/tclDecls.h
parentec6f4cede6fc1d46603e4a301a31fc176521cfb1 (diff)
parent1fa28c73f4fb30900111ae304f4cec8165d20e22 (diff)
downloadtcl-b80ec996142154a05a151022b77cbcb38379ca5d.zip
tcl-b80ec996142154a05a151022b77cbcb38379ca5d.tar.gz
tcl-b80ec996142154a05a151022b77cbcb38379ca5d.tar.bz2
Rebase to 9.0
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index a62aeb6..7ed799d 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -4220,7 +4220,7 @@ extern const TclStubs *tclStubsPtr;
# undef Tcl_ParseArgsObjv
# define Tcl_ParseArgsObjv(interp, argTable, objcPtr, objv, remObjv) \
tclStubsPtr->tclParseArgsObjv((interp), (argTable), (objcPtr), (objv), (remObjv))
-#elif !defined(TCL_NO_DEPRECATED)
+#elif defined(TCL_8_API)
# undef Tcl_GetByteArrayFromObj
# undef Tcl_GetBytesFromObj
# undef Tcl_GetStringFromObj
@@ -4301,10 +4301,10 @@ extern const TclStubs *tclStubsPtr;
tclStubsPtr->tclParseArgsObjv((interp), (argTable), (objcPtr), (objv), (remObjv)) : \
tclStubsPtr->tcl_ParseArgsObjv((interp), (argTable), (objcPtr), (objv), (remObjv)))
# endif /* defined(USE_TCL_STUBS) */
-#else /* defined(TCL_NO_DEPRECATED) */
+#else /* !defined(TCL_8_API) */
# undef Tcl_GetByteArrayFromObj
# define Tcl_GetByteArrayFromObj(objPtr, sizePtr) \
Tcl_GetBytesFromObj(NULL, (objPtr), (sizePtr))
-#endif /* !defined(TCL_NO_DEPRECATED) */
+#endif /* defined(TCL_8_API) */
#endif /* _TCLDECLS */