Mercurial > pidgin
view plugins/perl/common/Cmds.xs @ 11221:5ed33bb06a84
[gaim-migrate @ 13353]
These changes must have been unintentionally reverted
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 09 Aug 2005 12:12:14 +0000 |
parents | 134d0001983d |
children | b284c703d398 |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Cmds PACKAGE = Gaim::Cmds PREFIX = gaim_cmd_ PROTOTYPES: ENABLE void gaim_cmd_help(conv, cmd) Gaim::Conversation conv const gchar *cmd PREINIT: GList *l; PPCODE: for (l = gaim_cmd_help(conv, cmd); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } void gaim_cmd_list(conv) Gaim::Conversation conv PREINIT: GList *l; PPCODE: for (l = gaim_cmd_list(conv); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } void gaim_cmd_unregister(id) Gaim::CmdId id