diff options
author | redman <redman> | 1999-07-16 21:56:36 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-16 21:56:36 (GMT) |
commit | ba02196dd7498598c52a1198434c734483af894b (patch) | |
tree | a90dfe6ab0ec7c63acbc2c70e665a88623adf745 /generic | |
parent | 1756fda322eff378c039da15c51d75082ce43fbb (diff) | |
download | tcl-ba02196dd7498598c52a1198434c734483af894b.zip tcl-ba02196dd7498598c52a1198434c734483af894b.tar.gz tcl-ba02196dd7498598c52a1198434c734483af894b.tar.bz2 |
Add Tcl_SetNotifier to stubs table. [Bug: 2354]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.decls | 5 | ||||
-rw-r--r-- | generic/tclDecls.h | 10 | ||||
-rw-r--r-- | generic/tclStubInit.c | 3 |
3 files changed, 15 insertions, 3 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index 118cd49..04bd7e5 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tcl.decls,v 1.20 1999/07/02 21:59:18 redman Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.21 1999/07/16 21:56:38 redman Exp $ library tcl @@ -1330,6 +1330,9 @@ declare 385 generic { int Tcl_RegExpMatchObj(Tcl_Interp *interp, Tcl_Obj *stringObj, \ Tcl_Obj *patternObj) } +declare 386 generic { + void Tcl_SetNotifier(Tcl_NotifierProcs *notifierProcPtr) +} ############################################################################## diff --git a/generic/tclDecls.h b/generic/tclDecls.h index a1a29bf..9bcd17c 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclDecls.h,v 1.21 1999/07/02 21:59:19 redman Exp $ + * RCS: @(#) $Id: tclDecls.h,v 1.22 1999/07/16 21:56:38 redman Exp $ */ #ifndef _TCLDECLS @@ -1205,6 +1205,9 @@ EXTERN void Tcl_AppendUnicodeToObj _ANSI_ARGS_(( /* 385 */ EXTERN int Tcl_RegExpMatchObj _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * stringObj, Tcl_Obj * patternObj)); +/* 386 */ +EXTERN void Tcl_SetNotifier _ANSI_ARGS_(( + Tcl_NotifierProcs * notifierProcPtr)); typedef struct TclStubHooks { struct TclPlatStubs *tclPlatStubs; @@ -1658,6 +1661,7 @@ typedef struct TclStubs { Tcl_Obj * (*tcl_GetRange) _ANSI_ARGS_((Tcl_Obj * objPtr, int first, int last)); /* 383 */ void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((register Tcl_Obj * objPtr, Tcl_UniChar * unicode, int length)); /* 384 */ int (*tcl_RegExpMatchObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * stringObj, Tcl_Obj * patternObj)); /* 385 */ + void (*tcl_SetNotifier) _ANSI_ARGS_((Tcl_NotifierProcs * notifierProcPtr)); /* 386 */ } TclStubs; #ifdef __cplusplus @@ -3247,6 +3251,10 @@ extern TclStubs *tclStubsPtr; #define Tcl_RegExpMatchObj \ (tclStubsPtr->tcl_RegExpMatchObj) /* 385 */ #endif +#ifndef Tcl_SetNotifier +#define Tcl_SetNotifier \ + (tclStubsPtr->tcl_SetNotifier) /* 386 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 0da46d6..f949dd8 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStubInit.c,v 1.22 1999/07/02 19:51:30 welch Exp $ + * RCS: @(#) $Id: tclStubInit.c,v 1.23 1999/07/16 21:56:39 redman Exp $ */ #include "tclInt.h" @@ -770,6 +770,7 @@ TclStubs tclStubs = { Tcl_GetRange, /* 383 */ Tcl_AppendUnicodeToObj, /* 384 */ Tcl_RegExpMatchObj, /* 385 */ + Tcl_SetNotifier, /* 386 */ }; /* !END!: Do not edit above this line. */ |