Mercurial > pidgin
view libpurple/plugins/perl/common/Signal.xs @ 18243:a8b19e002cb4
propagate from branch 'im.pidgin.pidgin' (head e9da27c3123d1223162bf9fb76f58822873e18f8)
to branch 'im.pidgin.soc.2007.remotelogging' (head da5442aedd302aafb260948b66ce0549a3e0a0e4)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 24 Jun 2007 20:01:43 +0000 |
parents | 2f8274ce570a |
children |
line wrap: on
line source
#include "module.h" #include "../perl-handlers.h" MODULE = Purple::Signal PACKAGE = Purple::Signal PREFIX = purple_signal_ PROTOTYPES: ENABLE void purple_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) Purple::Handle instance const char *signal Purple::Plugin plugin SV *callback int priority SV *data CODE: purple_perl_signal_connect(plugin, instance, signal, callback, data, priority); void purple_signal_connect(instance, signal, plugin, callback, data = 0) Purple::Handle instance const char *signal Purple::Plugin plugin SV *callback SV *data CODE: purple_perl_signal_connect(plugin, instance, signal, callback, data, PURPLE_SIGNAL_PRIORITY_DEFAULT); void purple_signal_disconnect(instance, signal, plugin) Purple::Handle instance const char *signal Purple::Plugin plugin CODE: purple_perl_signal_disconnect(plugin, instance, signal);