summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordas <das@noemail.net>2005-05-24 04:19:31 (GMT)
committerdas <das@noemail.net>2005-05-24 04:19:31 (GMT)
commit82564428100b0cb97a6dbf124c5cd7ea852c6919 (patch)
tree81f89c2d95db81e9ecaaddcc33263bcf0f0ac7b1 /generic/tclInt.h
parenta0bb992e38add1a14f1846a1e479fdc05b71b012 (diff)
downloadtcl-82564428100b0cb97a6dbf124c5cd7ea852c6919.zip
tcl-82564428100b0cb97a6dbf124c5cd7ea852c6919.tar.gz
tcl-82564428100b0cb97a6dbf124c5cd7ea852c6919.tar.bz2
* generic/tclIOUtil.c (TclLoadFile):
* generic/tclInt.h: * unix/tcl.m4: * unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's), and can be [load]ed from memory, e.g. directly from VFS without needing to be written out to a temporary location first. [Bug 1202209] * unix/configure: autoconf-2.13 FossilOrigin-Name: 5c82b72b0a81699ff4d7c615669c15784b65b558
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 300a14c..7f555ec 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -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: tclInt.h,v 1.118.2.9 2005/04/07 11:24:13 vasiljevic Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.118.2.10 2005/05/24 04:19:33 das Exp $
*/
#ifndef _TCLINT
@@ -1789,6 +1789,15 @@ EXTERN int TclpDlopen _ANSI_ARGS_((Tcl_Interp *interp,
EXTERN int TclpUtime _ANSI_ARGS_((Tcl_Obj *pathPtr,
struct utimbuf *tval));
+#ifdef TCL_LOAD_FROM_MEMORY
+EXTERN void* TclpLoadMemoryGetBuffer _ANSI_ARGS_((
+ Tcl_Interp *interp, int size));
+EXTERN int TclpLoadMemory _ANSI_ARGS_((Tcl_Interp *interp,
+ void *buffer, int size, int codeSize,
+ Tcl_LoadHandle *loadHandle,
+ Tcl_FSUnloadFileProc **unloadProcPtr));
+#endif
+
/*
*----------------------------------------------------------------
* Command procedures in the generic core: