diff libgaim/plugins/perl/common/module.h @ 15104:53f7a4a8ad2a

[gaim-migrate @ 17889] Fix some leakage in the perl loader bindings by using a special typedef to handle functions that return g_malloc()-ed values. Thanks to the Gtk-Perl folks for any easy way to do this. Fix gaim_gtk_sound_get_event_label() to correctly indicate that the retval is a constant. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Dec 2006 03:49:34 +0000
parents 5e07a6f8eb33
children d83f71ca0cd7
line wrap: on
line diff
--- a/libgaim/plugins/perl/common/module.h	Mon Dec 04 03:44:42 2006 +0000
+++ b/libgaim/plugins/perl/common/module.h	Mon Dec 04 03:49:34 2006 +0000
@@ -271,3 +271,6 @@
 
 /* other */
 typedef void *				Gaim__Handle;
+
+typedef gchar gchar_own;
+