summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-24 08:43:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-24 08:43:28 (GMT)
commit5183eb3389df23bfd5f5c85b2a5836e3a010352f (patch)
tree2c5acd09471657ee1ac113fd6457c68524e36166 /doc
parent2dee9266c17cee827634f64f672076ff6f318342 (diff)
parent5c8ce61f7963bdd41e0d7c9d18a7b4e5f918eb35 (diff)
downloadtcl-5183eb3389df23bfd5f5c85b2a5836e3a010352f.zip
tcl-5183eb3389df23bfd5f5c85b2a5836e3a010352f.tar.gz
tcl-5183eb3389df23bfd5f5c85b2a5836e3a010352f.tar.bz2
Merge 8.7. Change more functions signatures to return the Tcl full version number.
Diffstat (limited to 'doc')
-rw-r--r--doc/FindExec.32
-rw-r--r--doc/InitSubSyst.32
-rw-r--r--doc/Panic.32
-rw-r--r--doc/zipfs.311
4 files changed, 8 insertions, 9 deletions
diff --git a/doc/FindExec.3 b/doc/FindExec.3
index 149ef8a..60b2cec 100644
--- a/doc/FindExec.3
+++ b/doc/FindExec.3
@@ -13,7 +13,7 @@ Tcl_FindExecutable, Tcl_GetNameOfExecutable \- identify or return the name of th
.nf
\fB#include <tcl.h>\fR
.sp
-void
+const char *
\fBTcl_FindExecutable\fR(\fIargv0\fR)
.sp
const char *
diff --git a/doc/InitSubSyst.3 b/doc/InitSubSyst.3
index 3c138a4..28e5f40 100644
--- a/doc/InitSubSyst.3
+++ b/doc/InitSubSyst.3
@@ -13,7 +13,7 @@ Tcl_InitSubsystems \- initialize the Tcl library.
.nf
\fB#include <tcl.h>\fR
.sp
-void
+const char *
\fBTcl_InitSubsystems\fR(\fIvoid\fR)
.SH DESCRIPTION
.PP
diff --git a/doc/Panic.3 b/doc/Panic.3
index 53b84da..881ed2e 100644
--- a/doc/Panic.3
+++ b/doc/Panic.3
@@ -18,7 +18,7 @@ void
void
\fBTcl_PanicVA\fR(\fIformat\fR, \fIargList\fR)
.sp
-void
+const char *
\fBTcl_SetPanicProc\fR(\fIpanicProc\fR)
.sp
void
diff --git a/doc/zipfs.3 b/doc/zipfs.3
index 348557f..cce6fb6 100644
--- a/doc/zipfs.3
+++ b/doc/zipfs.3
@@ -13,7 +13,7 @@
TclZipfs_AppHook, Tclzipfs_Mount, TclZipfs_MountBuffer, Tclzipfs_Unmount \- handle ZIP files as Tcl virtual filesystems
.SH SYNOPSIS
.nf
-int
+const char *
\fBTclZipfs_AppHook(\fIargcPtr, argvPtr\fR)
.sp
int
@@ -87,11 +87,10 @@ it uses WCHAR instead of char. As a result, it requires your application to
be compiled with the UNICODE preprocessor symbol defined (e.g., via the
\fB-DUNICODE\fR compiler flag).
.PP
-The result of \fBTclZipfs_AppHook\fR is a Tcl result code (e.g., \fBTCL_OK\fR
-when the function is successful). The function \fImay\fR modify the variables
-pointed to by \fIargcPtr\fR and \fIargvPtr\fR to remove arguments; the
-current implementation does not do so, but callers \fIshould not\fR assume
-that this will be true in the future.
+The result of \fBTclZipfs_AppHook\fR is the Tcl version (e.g., \fB8.7.0\fR).
+The function \fImay\fR modify the variables pointed to by \fIargcPtr\fR and
+\fIargvPtr\fR to remove arguments; the current implementation does not do so,
+but callers \fIshould not\fR assume that this will be true in the future.
.PP
\fBTclzipfs_Mount\fR mounts the ZIP archive \fIzipname\fR on the mount point
given in \fImountpoint\fR using the optional ZIP password \fIpassword\fR.