diff options
Diffstat (limited to 'doc/unload.n')
-rw-r--r-- | doc/unload.n | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/unload.n b/doc/unload.n index 4c0b292..f060cd6 100644 --- a/doc/unload.n +++ b/doc/unload.n @@ -88,11 +88,8 @@ detached from the process. .SS "UNLOAD HOOK PROTOTYPE" .PP The unload procedure must match the following prototype: -.PP .CS -typedef int \fBTcl_PackageUnloadProc\fR( - Tcl_Interp *\fIinterp\fR, - int \fIflags\fR); +typedef int Tcl_PackageUnloadProc(Tcl_Interp *\fIinterp\fR, int \fIflags\fR); .CE .PP The \fIinterp\fR argument identifies the interpreter from which the @@ -145,16 +142,12 @@ library is still loaded), it may be dangerous to use \fBunload\fR on such a library (as the library will be completely detached from the application while some interpreters will continue to use it). .SH EXAMPLE -.PP If an unloadable module in the file \fBfoobar.dll\fR had been loaded using the \fBload\fR command like this (on Windows): -.PP .CS load c:/some/dir/foobar.dll .CE -.PP then it would be unloaded like this: -.PP .CS \fBunload\fR c:/some/dir/foobar.dll .CE @@ -167,6 +160,3 @@ without having to shut down the overall Tcl process. info sharedlibextension, load(n), safe(n) .SH KEYWORDS binary code, unloading, safe interpreter, shared library -.\" Local Variables: -.\" mode: nroff -.\" End: |