Mercurial > pidgin.yaz
view plugins/perl/common/SavedStatuses.xs @ 11141:7d2dae6e585f
[gaim-migrate @ 13205]
I was getting 208K of compiler warnings per .xs file. I tracked it down to this include. John Kelm said it's "a carry over from when I was trying to just get Perl to work again. It should be unnecessary now".
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 21 Jul 2005 19:29:36 +0000 |
parents | 3f3bc7f1b6bf |
children | b284c703d398 |
line wrap: on
line source
#include "module.h" /* TODO void * gaim_savedstatuses_get_handle() */ MODULE = Gaim::SavedStatus PACKAGE = Gaim::SavedStatus PREFIX = gaim_savedstatus_ PROTOTYPES: ENABLE gboolean gaim_savedstatus_delete(title) const char *title Gaim::SavedStatus gaim_savedstatus_find(title) const char *title const char * gaim_savedstatus_get_message(saved_status) Gaim::SavedStatus saved_status const char * gaim_savedstatus_get_title(saved_status) Gaim::SavedStatus saved_status Gaim::StatusPrimitive gaim_savedstatus_get_type(saved_status) Gaim::SavedStatus saved_status Gaim::SavedStatus gaim_savedstatus_new(title, type) const char *title Gaim::StatusPrimitive type void gaim_savedstatus_set_message(status, message) Gaim::SavedStatus status const char *message MODULE = Gaim::SavedStatus PACKAGE = Gaim::SavedStatuses PREFIX = gaim_savedstatuses_ PROTOTYPES: ENABLE void gaim_savedstatuses_get_all() PREINIT: const GList *l; PPCODE: for (l = gaim_savedstatuses_get_all(); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListItem"))); } void gaim_savedstatuses_init() void gaim_savedstatuses_uninit()