Mercurial > pidgin.yaz
view libgaim/plugins/perl/common/Signal.xs @ 14755:811464ba52de
[gaim-migrate @ 17512]
Rocking patch (#1574228) from Richard Nelson (wabz) to fix the behaviour of the
status-windows for transient statuses. I butchered it a little, and might have
broke something in the process. I take the blames if this causes any problems.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 18 Oct 2006 04:00:27 +0000 |
parents | b1fcd2fc903a |
children |
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);