Skip to content

Commit

Permalink
Fix [15bd03e81a]: make genstubs produces broken tkDecls.h file
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Sep 6, 2024
1 parent d6a4426 commit aecfb1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions generic/tk.decls
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ declare 211 {
Tk_OptionTable optionToken, Tk_Window tkwin)
}
declare 212 {
TCL_NORETURN1 void Tk_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc,
void Tk_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc,
Tcl_Interp *interp)
}
declare 213 {
Expand Down Expand Up @@ -1166,11 +1166,11 @@ export {
int exact)
}
export {
TCL_NORETURN1 void Tk_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc,
void Tk_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc,
Tcl_Interp *interp)
}
export {
TCL_NORETURN1 void Tk_MainExW(int argc, wchar_t **argv,
void Tk_MainExW(int argc, wchar_t **argv,
Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
}

Expand Down
4 changes: 2 additions & 2 deletions generic/tkDecls.h
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ EXTERN int Tk_GetScrollInfoObj(Tcl_Interp *interp, int objc,
EXTERN int Tk_InitOptions(Tcl_Interp *interp, char *recordPtr,
Tk_OptionTable optionToken, Tk_Window tkwin);
/* 212 */
EXTERN TCL_NORETURN1 void Tk_MainEx(int argc, char **argv,
EXTERN void Tk_MainEx(int argc, char **argv,
Tcl_AppInitProc *appInitProc,
Tcl_Interp *interp);
/* 213 */
Expand Down Expand Up @@ -1106,7 +1106,7 @@ typedef struct TkStubs {
int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *resultPtr); /* 209 */
int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], double *dblPtr, int *intPtr); /* 210 */
int (*tk_InitOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 211 */
TCL_NORETURN1 void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */
int (*tk_SetOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, int objc, Tcl_Obj *const objv[], Tk_Window tkwin, Tk_SavedOptions *savePtr, int *maskPtr); /* 214 */
void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */
Expand Down

0 comments on commit aecfb1b

Please sign in to comment.