Mercurial > pidgin
view libpurple/plugins/perl/common/Core.xs @ 31955:cd7dcd0beafa
Fix two compile warnings. Did I do that? I totally didn't notice. My bad.
roomlist.c: In function ?purple_roomlist_room_get_expanded_once?:
roomlist.c:402:2: warning: return makes integer from pointer without a cast
roomlist.c: In function ?purple_roomlist_room_set_expanded_once?:
roomlist.c:409:2: warning: ?return? with a value, in function returning void
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Fri, 26 Aug 2011 05:00:46 +0000 |
| parents | e3f30a73a793 |
| children |
line wrap: on
line source
#include "module.h" MODULE = Purple::Core PACKAGE = Purple::Core PREFIX = purple_core_ PROTOTYPES: ENABLE gboolean purple_core_quit_cb() PPCODE: /* The argument to purple_core_quit_cb is not used, * so there's little point in requiring it on the * Perl side. */ RETVAL = purple_core_quit_cb(NULL); ST(0) = boolSV(RETVAL); sv_2mortal(ST(0)); const char * purple_core_get_version() const char * purple_core_get_ui()
