Mercurial > pidgin
comparison libgaim/plugins/perl/common/Signal.xs @ 14717:b1fcd2fc903a
[gaim-migrate @ 17471]
Martijn van Beers provided some patches to rework the perl object
casting/blessing for signal instances in order to let the newly added jabber-*
signals work. This is those patches.
This is also a small whitespace change, a removal of the gaim debug message
about "Found plugin info" it was just pissing me off, and a renamespacing of
gaim_blist_node_get_extended_menu into Gaim::Blist::Node where it makes
slightly more sense.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 12 Oct 2006 20:38:47 +0000 |
parents | 60b1bc8dbf37 |
children |
comparison
equal
deleted
inserted
replaced
14716:023dfc2ce5e3 | 14717:b1fcd2fc903a |
---|---|
4 MODULE = Gaim::Signal PACKAGE = Gaim::Signal PREFIX = gaim_signal_ | 4 MODULE = Gaim::Signal PACKAGE = Gaim::Signal PREFIX = gaim_signal_ |
5 PROTOTYPES: ENABLE | 5 PROTOTYPES: ENABLE |
6 | 6 |
7 void | 7 void |
8 gaim_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) | 8 gaim_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) |
9 void *instance | 9 Gaim::Handle instance |
10 const char *signal | 10 const char *signal |
11 Gaim::Plugin plugin | 11 Gaim::Plugin plugin |
12 SV *callback | 12 SV *callback |
13 int priority | 13 int priority |
14 SV *data | 14 SV *data |
15 CODE: | 15 CODE: |
16 gaim_perl_signal_connect(plugin, instance, signal, callback, data, priority); | 16 gaim_perl_signal_connect(plugin, instance, signal, callback, data, priority); |
17 | 17 |
18 void | 18 void |
19 gaim_signal_connect(instance, signal, plugin, callback, data = 0) | 19 gaim_signal_connect(instance, signal, plugin, callback, data = 0) |
20 void *instance | 20 Gaim::Handle instance |
21 const char *signal | 21 const char *signal |
22 Gaim::Plugin plugin | 22 Gaim::Plugin plugin |
23 SV *callback | 23 SV *callback |
24 SV *data | 24 SV *data |
25 CODE: | 25 CODE: |
26 gaim_perl_signal_connect(plugin, instance, signal, callback, data, GAIM_SIGNAL_PRIORITY_DEFAULT); | 26 gaim_perl_signal_connect(plugin, instance, signal, callback, data, GAIM_SIGNAL_PRIORITY_DEFAULT); |
27 | 27 |
28 void | 28 void |
29 gaim_signal_disconnect(instance, signal, plugin) | 29 gaim_signal_disconnect(instance, signal, plugin) |
30 void *instance | 30 Gaim::Handle instance |
31 const char *signal | 31 const char *signal |
32 Gaim::Plugin plugin | 32 Gaim::Plugin plugin |
33 CODE: | 33 CODE: |
34 gaim_perl_signal_disconnect(plugin, instance, signal); | 34 gaim_perl_signal_disconnect(plugin, instance, signal); |