/pidgin/main: 81c1f235dce6: tcl: Fix dynamically loaded Tcl/Tk f...

Daniel Atallah datallah at pidgin.im
Mon Feb 18 18:24:20 EST 2013


Changeset: 81c1f235dce6e60ec453cfa0032b0c7a3cede1dc
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-02-18 18:24 -0500
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/81c1f235dce6

Description:

tcl: Fix dynamically loaded Tcl/Tk functions to be called using cdecl calling conventions.

Fixes #15520

diffstat:

 libpurple/plugins/tcl/tcl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/libpurple/plugins/tcl/tcl.c b/libpurple/plugins/tcl/tcl.c
--- a/libpurple/plugins/tcl/tcl.c
+++ b/libpurple/plugins/tcl/tcl.c
@@ -422,8 +422,8 @@ static PurplePluginInfo tcl_info =
 };
 
 #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;



More information about the Commits mailing list