summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authordas <das@noemail.net>2003-05-13 08:41:26 (GMT)
committerdas <das@noemail.net>2003-05-13 08:41:26 (GMT)
commit77ba4d75773f4b81cc45e40b2e7c322a1158250c (patch)
treee3f550a92be8b1397d2e40c10ee51a7bef9dcb89 /generic/tcl.decls
parent35f76769c635a145bf1e78cbf165b60ffb2082ac (diff)
downloadtcl-77ba4d75773f4b81cc45e40b2e7c322a1158250c.zip
tcl-77ba4d75773f4b81cc45e40b2e7c322a1158250c.tar.gz
tcl-77ba4d75773f4b81cc45e40b2e7c322a1158250c.tar.bz2
* generic/tcl.decls:
* macosx/tclMacOSXBundle.c: added extended version of the Tcl_MacOSXOpenBundleResources() API taking an extra version number argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to be able to access bundle resources in versioned frameworks such as Tcl and Tk, otherwise if multiple versions were installed, only the latest version's resources could be accessed. [Bug 736774] * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned bundle resource API to get tcl runtime library for TCL_VERSION. [Bug 736774] * generic/tclPlatDecls.h: * generic/tclStubInit.c: regen. * unix/tclUnixPort.h: worked around the issue of realpath() not being thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on Mac OS X. [Bug 711232] FossilOrigin-Name: 20ac4d51bfba12695e48058a436aa30b2fee1603
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 2dbc2c5..ff94f2f 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 2002/08/31 06:09:45 das Exp $
+# RCS: @(#) $Id: tcl.decls,v 1.94.2.1 2003/05/13 08:41:26 das Exp $
library tcl
@@ -1833,3 +1833,11 @@ declare 0 macosx {
int maxPathLen,
char *libraryPath)
}
+declare 1 macosx {
+ int Tcl_MacOSXOpenVersionedBundleResources(Tcl_Interp *interp,
+ CONST char *bundleName,
+ CONST char *bundleVersion,
+ int hasResourceFile,
+ int maxPathLen,
+ char *libraryPath)
+}