diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-16 13:52:23 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-16 13:52:23 (GMT) |
| commit | 8f798085ffe0484daaa29b244d4f1daffccfa15b (patch) | |
| tree | 6eab28bce35efd3f1d3d3f2f059335019048f657 /doc/Init.3 | |
| parent | 8ba69750a3d5b3706fb03205f59a64e6c7539663 (diff) | |
| parent | 869ea625f19c8db04df71882da99ce56b3198fb2 (diff) | |
| download | tcl-8f798085ffe0484daaa29b244d4f1daffccfa15b.zip tcl-8f798085ffe0484daaa29b244d4f1daffccfa15b.tar.gz tcl-8f798085ffe0484daaa29b244d4f1daffccfa15b.tar.bz2 | |
Merge 9.0
Diffstat (limited to 'doc/Init.3')
| -rw-r--r-- | doc/Init.3 | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -32,12 +32,16 @@ path. .PP \fBTcl_Init\fR is typically called from \fBTcl_AppInit\fR procedures. .PP -\fBTcl_SetPreInitScript\fR registeres the pre-initialization script and returns the former (now replaced) script pointer. +\fBTcl_SetPreInitScript\fR registers the pre-initialization script and +returns the former (now replaced) script pointer. A value of \fINULL\fR may be passed to not register any script. -The pre-initialization script is executed by \fBTcl_Init\fR before accessing the file system. -The purpose is to typically prepare a custom file system (like an embedded zip-file) to be activated before the search. +The pre-initialization script is executed by \fBTcl_Init\fR before accessing +the file system. The purpose is to typically prepare a custom file system +(like an embedded zip-file) to be activated before the search. -When the TCL library is loaded within an embedded application, the stubs table must be first initialized using one of \fBTcl_InitSubsystems\fR, \fBTcl_SetPanicProc\fR, \fBTcl_FindExecutable\fR or \fBTclZipfs_AppHook\fR before \fBTcl_SetPreInitScript\fR may be called. +When used in stub-enabled embedders, the stubs table must be first initialized +using one of \fBTcl_InitSubsystems\fR, \fBTcl_SetPanicProc\fR, \fBTcl_FindExecutable\fR +or \fBTclZipfs_AppHook\fR before \fBTcl_SetPreInitScript\fR may be called. .SH "SEE ALSO" Tcl_AppInit, Tcl_Main |
