Mercurial > pidgin
diff libpurple/plugins/tcl/tcl.c @ 20165:506f0f7f4f21
Another fabulous patch to our Tcl loader from venks on irc.freenode.net.
This one makes the 'handle' commands 64-bit safe, by moving away from
Tcl integer objects, and using PurpleTclRefs instead.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Wed, 19 Sep 2007 02:33:08 +0000 |
parents | 44b4e8bd759b |
children | 3cc856ca2338 |
line wrap: on
line diff
--- a/libpurple/plugins/tcl/tcl.c Wed Sep 19 01:04:39 2007 +0000 +++ b/libpurple/plugins/tcl/tcl.c Wed Sep 19 02:33:08 2007 +0000 @@ -60,6 +60,7 @@ PurpleStringref *PurpleTclRefStatusAttr; PurpleStringref *PurpleTclRefStatusType; PurpleStringref *PurpleTclRefXfer; +PurpleStringref *PurpleTclRefHandle; static GHashTable *tcl_plugins = NULL; @@ -363,6 +364,7 @@ PurpleTclRefStatusAttr = purple_stringref_new("StatusAttr"); PurpleTclRefStatusType = purple_stringref_new("StatusType"); PurpleTclRefXfer = purple_stringref_new("Xfer"); + PurpleTclRefHandle = purple_stringref_new("Handle"); tcl_plugins = g_hash_table_new(g_direct_hash, g_direct_equal);