diff options
Diffstat (limited to 'doc/InitStubs.3')
| -rw-r--r-- | doc/InitStubs.3 | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/doc/InitStubs.3 b/doc/InitStubs.3 index 4701927..73c3437 100644 --- a/doc/InitStubs.3 +++ b/doc/InitStubs.3 @@ -1,13 +1,11 @@ '\" -'\" Copyright (c) 1999 Scriptics Corportation +'\" Copyright (c) 1998-1999 Scriptics Corporation '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: InitStubs.3,v 1.4 1999/05/06 19:14:40 stanton Exp $ -'\" -.so man.macros .TH Tcl_InitStubs 3 8.1 Tcl "Tcl Library Procedures" +.so man.macros .BS .SH NAME Tcl_InitStubs \- initialize the Tcl stubs mechanism @@ -15,13 +13,13 @@ Tcl_InitStubs \- initialize the Tcl stubs mechanism .nf \fB#include <tcl.h>\fR .sp -char * +const char * \fBTcl_InitStubs\fR(\fIinterp, version, exact\fR) .SH ARGUMENTS -.AS Tcl_Interp *interp in +.AS Tcl_Interp *interp .AP Tcl_Interp *interp in Tcl interpreter handle. -.AP char *version in +.AP "const char" *version in A version string consisting of one or more decimal numbers separated by dots. .AP int exact in @@ -61,13 +59,13 @@ steps: Call \fBTcl_InitStubs\fR in the extension before calling any other Tcl functions. .IP 2) 5 -Define the USE_TCL_STUBS symbol. Typically, you would include the --DUSE_TCL_STUBS flag when compiling the extension. +Define the \fBUSE_TCL_STUBS\fR symbol. Typically, you would include the +\fB\-DUSE_TCL_STUBS\fR flag when compiling the extension. .IP 3) 5 Link the extension with the Tcl stubs library instead of the standard -Tcl library. On Unix platforms, the library name is -\fIlibtclstub8.1.a\fR; on Windows platforms, the library name is -\fItclstub81.lib\fR. +Tcl library. For example, to use the Tcl 8.6 ABI on Unix platforms, +the library name is \fIlibtclstub8.6.a\fR; on Windows platforms, the +library name is \fItclstub86.lib\fR. .PP If the extension also requires the Tk API, it must also call \fBTk_InitStubs\fR to initialize the Tk stubs interface and link @@ -86,6 +84,6 @@ non-zero means that only the specified \fIversion\fR is acceptable. of Tcl satisfying the request, or NULL if the Tcl version is not acceptable, does not support stubs, or any other error condition occurred. .SH "SEE ALSO" -\fBTk_InitStubs\fR +Tk_InitStubs .SH KEYWORDS stubs |
