diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2006-09-22 01:26:20 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2006-09-22 01:26:20 (GMT) |
commit | 44cc6dd45c93a8c04feeb48ceae17c11dcb71726 (patch) | |
tree | 32acbff94cb87475dcf718f476fd8fb8e668cff2 /generic/tcl.decls | |
parent | ef5c6eb9131915179d1101e7398fca1e09e2e3f2 (diff) | |
download | tcl-44cc6dd45c93a8c04feeb48ceae17c11dcb71726.zip tcl-44cc6dd45c93a8c04feeb48ceae17c11dcb71726.tar.gz tcl-44cc6dd45c93a8c04feeb48ceae17c11dcb71726.tar.bz2 |
* generic/tcl.decls: Implemented TIP #268, conditionally.
* generic/tclBasic.c: Define TCL_TIP268 to activate the new
* generic/tclDecls.h: features.
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* library/init.tcl
* library/package.tcl:
* tests/pkg.test:
* tests/platform.test:
* tests/safe.test:
* doc/PkgRequire.3:
FossilOrigin-Name: 78a272c42aaf7c6c9472f55bef7a82605b1cc2c6
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r-- | generic/tcl.decls | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index ed95c57..08a0e01 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -11,7 +11,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.94.2.3 2005/01/27 22:53:28 andreas_kupries Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.94.2.4 2006/09/22 01:26:22 andreas_kupries Exp $ library tcl @@ -971,6 +971,10 @@ declare 273 generic { int Tcl_PkgProvide(Tcl_Interp *interp, CONST char *name, CONST char *version) } + +# TIP #268: The internally used new Require function is in slot +# 573. Assuming TCL_TIP268 was activated. + declare 274 generic { CONST84_RETURN char * Tcl_PkgRequire(Tcl_Interp *interp, CONST char *name, CONST char *version, int exact) @@ -1772,6 +1776,22 @@ declare 554 generic { Tcl_DriverThreadActionProc *Tcl_ChannelThreadActionProc(Tcl_ChannelType *chanTypePtr) } +# Slots 555 to 572 are taken already by 8.5 +# TIP #237: Arbitrary-prec Integers (555 ... 559) +# TIP #208: 'chan' Command (560 ... 561) +# TIP #219: Channel Reflection (562 ... 565) +# TIP #237: Add. bignum support (566) +# TIP #181: 'namespace unknown' Cmd (567 ... 568) +# TIP #258: Enhanced Encodings API (569 ... 572) + +# TIP#268: Extended version numbers and requirements. +# The slot is present even if TCL_TIP268 is not activated. + +declare 573 generic { + int Tcl_PkgRequireProc(Tcl_Interp *interp, CONST char *name, + int objc, Tcl_Obj *CONST objv[], ClientData *clientDataPtr) +} + ############################################################################## # Define the platform specific public Tcl interface. These functions are |