From ba02196dd7498598c52a1198434c734483af894b Mon Sep 17 00:00:00 2001 From: redman Date: Fri, 16 Jul 1999 21:56:36 +0000 Subject: Add Tcl_SetNotifier to stubs table. [Bug: 2354] --- ChangeLog | 5 +++++ generic/tcl.decls | 5 ++++- generic/tclDecls.h | 10 +++++++++- generic/tclStubInit.c | 3 ++- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e670245..971ab75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-07-16 + * generic/tcl.decls: + * generic/tclDecls.h: + * generic/tclStubInit.c: Add Tcl_SetNotifier to stub table. + [Bug: 2364] + * unix/aclocal.m4: * unix/tcl.m4: Add check for Alpha/Linux to correct the IEEE floating flag to the compiler, should be -mieee. Patch from Don 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. */ -- cgit v0.12