diff options
author | vincentdarley <vincentdarley@noemail.net> | 2002-07-22 16:51:46 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2002-07-22 16:51:46 (GMT) |
commit | 0c82ce7afc69f51a8325b338d2fd55df6590a311 (patch) | |
tree | 30941e07aec5369bc98f08402bcba7684f40d889 /doc/FileSystem.3 | |
parent | e7b3225aa699f8f43fbe71bbfd7745c7b5e65cc7 (diff) | |
download | tcl-0c82ce7afc69f51a8325b338d2fd55df6590a311.zip tcl-0c82ce7afc69f51a8325b338d2fd55df6590a311.tar.gz tcl-0c82ce7afc69f51a8325b338d2fd55df6590a311.tar.bz2 |
removed load-related clientData, made filesystem static
FossilOrigin-Name: 2174b09a78e2a3b28d41ebfa82d3f8f8ab5df59a
Diffstat (limited to 'doc/FileSystem.3')
-rw-r--r-- | doc/FileSystem.3 | 19 |
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 |