summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-07-22 16:51:47 (GMT)
committervincentdarley <vincentdarley>2002-07-22 16:51:47 (GMT)
commitdf9190aa43ec6f65886c402aa9d5ade8a57cd6be (patch)
tree30941e07aec5369bc98f08402bcba7684f40d889 /doc
parent27070d54f1091210791f5ec8bd0c2474b5531f6d (diff)
downloadtcl-df9190aa43ec6f65886c402aa9d5ade8a57cd6be.zip
tcl-df9190aa43ec6f65886c402aa9d5ade8a57cd6be.tar.gz
tcl-df9190aa43ec6f65886c402aa9d5ade8a57cd6be.tar.bz2
removed load-related clientData, made filesystem static
Diffstat (limited to 'doc')
-rw-r--r--doc/FileSystem.319
1 files changed, 7 insertions, 12 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index d4f4c25..2af7768 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: FileSystem.3,v 1.29 2002/07/08 12:08:34 vincentdarley Exp $
+'\" RCS: @(#) $Id: FileSystem.3,v 1.30 2002/07/22 16:51:47 vincentdarley Exp $
'\"
.so man.macros
.TH Filesystem 3 8.4 Tcl "Tcl Library Procedures"
@@ -58,7 +58,7 @@ int
\fBTcl_FSEvalFile\fR(\fIinterp, pathPtr\fR)
.sp
int
-\fBTcl_FSLoadFile\fR(\fIinterp, pathPtr, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr, unloadProcPtr\fR)
+\fBTcl_FSLoadFile\fR(\fIinterp, pathPtr, sym1, sym2, proc1Ptr, proc2Ptr, handlePtr, unloadProcPtr\fR)
.sp
int
\fBTcl_FSMatchInDirectory\fR(\fIinterp, result, pathPtr, pattern, types\fR)
@@ -1278,22 +1278,17 @@ entirely.
typedef int Tcl_FSLoadFileProc(
Tcl_Interp * \fIinterp\fR,
Tcl_Obj *\fIpathPtr\fR,
- CONST char * \fIsym1\fR,
- CONST char * \fIsym2\fR,
- Tcl_PackageInitProc ** \fIproc1Ptr\fR,
- Tcl_PackageInitProc ** \fIproc2Ptr\fR,
- ClientData * \fIclientDataPtr\fR,
+ Tcl_LoadHandle * \fIhandlePtr\fR,
Tcl_FSUnloadFileProc * \fIunloadProcPtr\fR);
.CE
.PP
Returns a standard Tcl completion code. If an error occurs, an error
message is left in the interp's result. The function dynamically loads
-a binary code file into memory and returns the addresses of two
-procedures within that file, if they are defined. On a successful
-load, the \fIclientDataPtr\fR should be filled with a token for
+a binary code file into memory. On a successful
+load, the \fIhandlePtr\fR should be filled with a token for
the dynamically loaded file, and the \fIunloadProcPtr\fR should be
filled in with the address of a procedure. The procedure will be
-called with the given clientData as its only parameter when Tcl
+called with the given Tcl_LoadHandle as its only parameter when Tcl
needs to unload the file.
.SH UNLOADFILEPROC
.PP
@@ -1303,7 +1298,7 @@ cleanup action required.
.PP
.CS
typedef void Tcl_FSUnloadFileProc(
- ClientData \fIclientData\fR);
+ Tcl_LoadHandle \fIloadHandle\fR);
.CE
.SH GETCWDPROC
.PP