Skip to content

Commit 7a26931

Browse files
author
jan.nijtmans
committed
Merge 8.7
2 parents 38324b2 + e87ddcf commit 7a26931

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

win/tclWinDde.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ Dde_Init(
171171
Tcl_CreateExitHandler(DdeExitProc, NULL);
172172
return Tcl_PkgProvideEx(interp, TCL_DDE_PACKAGE_NAME, TCL_DDE_VERSION, NULL);
173173
}
174+
#if TCL_MAJOR_VERSION < 9
175+
int
176+
Tcldde_Init(
177+
Tcl_Interp *interp)
178+
{
179+
return Dde_Init(interp);
180+
}
181+
#endif
174182

175183
/*
176184
*----------------------------------------------------------------------
@@ -198,6 +206,14 @@ Dde_SafeInit(
198206
}
199207
return result;
200208
}
209+
#if TCL_MAJOR_VERSION < 9
210+
int
211+
Tcldde_SafeInit(
212+
Tcl_Interp *interp)
213+
{
214+
return Dde_SafeInit(interp);
215+
}
216+
#endif
201217

202218
/*
203219
*----------------------------------------------------------------------

win/tclWinReg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ DLLEXPORT int Registry_Unload(Tcl_Interp *interp, int flags);
144144
#if TCL_MAJOR_VERSION < 9
145145
/* With those additional entries, "load registry13.dll" works without 3th argument */
146146
DLLEXPORT int Tclregistry_Init(Tcl_Interp *interp);
147-
DLLEXPORT int Tclregistry_SafeInit(Tcl_Interp *interp);
147+
DLLEXPORT int Tclregistry_Unload(Tcl_Interp *interp, int flags);
148148
#endif
149149
#ifdef __cplusplus
150150
}

0 commit comments

Comments
 (0)