summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-18 22:25:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-18 22:25:04 (GMT)
commit0b6248c50aeb2e05ea6f998675298dae0b42ad10 (patch)
tree0e0ce5c85adebfc681828a38656ecc69dd1e5b66 /generic/tcl.decls
parent441aa364da925dc4c66389f43005c2f9ee7e3a12 (diff)
parent8bfcffa20a688e9e8b81a15034d61328ef87b3c4 (diff)
downloadtcl-0b6248c50aeb2e05ea6f998675298dae0b42ad10.zip
tcl-0b6248c50aeb2e05ea6f998675298dae0b42ad10.tar.gz
tcl-0b6248c50aeb2e05ea6f998675298dae0b42ad10.tar.bz2
Rebase TIP-414 to TIP-512: If Tcl_SetPanicProc doesn't have a stub entry, it can take over the function of Tcl_InitSubsystems, just by changing its return value. TIP-512 description still to be adapted accordingly.
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index dfcb822..bd11024 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -513,7 +513,7 @@ declare 142 {
declare 143 {
void Tcl_Finalize(void)
}
-declare 144 {
+declare 144 {nostub {Don't use this function in a stub-enabled extension}} {
void Tcl_FindExecutable(const char *argv0)
}
declare 145 {
@@ -812,8 +812,8 @@ declare 228 {
declare 229 {
void Tcl_SetMaxBlockTime(const Tcl_Time *timePtr)
}
-declare 230 {
- void Tcl_SetPanicProc(TCL_NORETURN1 Tcl_PanicProc *panicProc)
+declare 230 {nostub {Don't use this function in a stub-enabled extension}} {
+ const char *Tcl_SetPanicProc(TCL_NORETURN1 Tcl_PanicProc *panicProc)
}
declare 231 {
int Tcl_SetRecursionLimit(Tcl_Interp *interp, int depth)
@@ -1868,7 +1868,7 @@ declare 518 {
}
# TIP#121 (exit handler) dkf for Joe Mistachkin
-declare 519 {
+declare 519 {nostub {Don't use this function in a stub-enabled extension}} {
Tcl_ExitProc *Tcl_SetExitProc(TCL_NORETURN1 Tcl_ExitProc *proc)
}