Mercurial > pidgin.yaz
view libpurple/plugins/perl/common/Signal.xs @ 15471:015ad1283216
Some more changes to the win32 build to support cross-compiling.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 31 Jan 2007 04:31:12 +0000 |
parents | 5fe8042783c1 |
children | 2f8274ce570a |
line wrap: on
line source
#include "module.h" #include "../perl-handlers.h" MODULE = Gaim::Signal PACKAGE = Gaim::Signal PREFIX = gaim_signal_ PROTOTYPES: ENABLE void gaim_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) Gaim::Handle instance const char *signal Gaim::Plugin plugin SV *callback int priority SV *data CODE: gaim_perl_signal_connect(plugin, instance, signal, callback, data, priority); void gaim_signal_connect(instance, signal, plugin, callback, data = 0) Gaim::Handle instance const char *signal Gaim::Plugin plugin SV *callback SV *data CODE: gaim_perl_signal_connect(plugin, instance, signal, callback, data, GAIM_SIGNAL_PRIORITY_DEFAULT); void gaim_signal_disconnect(instance, signal, plugin) Gaim::Handle instance const char *signal Gaim::Plugin plugin CODE: gaim_perl_signal_disconnect(plugin, instance, signal);