Mon, 18 Feb 2013 18:24:08 -0500
tcl: Fix dynamically loaded Tcl/Tk functions to be called using cdecl calling conventions.
Fixes #15520
| libpurple/plugins/tcl/tcl.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/plugins/tcl/tcl.c Thu Feb 14 21:58:02 2013 +0000 +++ b/libpurple/plugins/tcl/tcl.c Mon Feb 18 18:24:08 2013 -0500 @@ -422,8 +422,8 @@ }; #ifdef _WIN32 -typedef Tcl_Interp* (CALLBACK* LPFNTCLCREATEINTERP)(void); -typedef void (CALLBACK* LPFNTKINIT)(Tcl_Interp*); +typedef Tcl_Interp* (__cdecl* LPFNTCLCREATEINTERP)(void); +typedef void (__cdecl* LPFNTKINIT)(Tcl_Interp*); LPFNTCLCREATEINTERP wtcl_CreateInterp = NULL; LPFNTKINIT wtk_Init = NULL;