Mercurial > pidgin.yaz
changeset 12910:3097275dbbdd
[gaim-migrate @ 15263]
Fix the perl compilation. Hopefully somebody will evaluate if this is correct.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 17 Jan 2006 06:09:47 +0000 |
parents | 8e3b85fe4a55 |
children | 14a103c0e4d5 |
files | plugins/perl/common/Network.xs plugins/perl/common/module.h plugins/perl/common/typemap |
diffstat | 3 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/perl/common/Network.xs Tue Jan 17 05:48:51 2006 +0000 +++ b/plugins/perl/common/Network.xs Tue Jan 17 06:09:47 2006 +0000 @@ -26,15 +26,19 @@ const char *ip int -gaim_network_listen(port, socket_type) +gaim_network_listen(port, socket_type, cb, cb_data) unsigned short port int socket_type + Gaim::NetworkListenCallback cb + gpointer cb_data int -gaim_network_listen_range(start, end, socket_type) +gaim_network_listen_range(start, end, socket_type, cb, cb_data) unsigned short start unsigned short end int socket_type + Gaim::NetworkListenCallback cb + gpointer cb_data void gaim_network_set_public_ip(ip)
--- a/plugins/perl/common/module.h Tue Jan 17 05:48:51 2006 +0000 +++ b/plugins/perl/common/module.h Tue Jan 17 06:09:47 2006 +0000 @@ -159,6 +159,9 @@ typedef GaimLogSet * Gaim__LogSet; typedef GaimLogType Gaim__LogType; +/* network.h */ +typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; + /* notify.h */ typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; typedef GaimNotifyMsgType Gaim__NotifyMsgType;
--- a/plugins/perl/common/typemap Tue Jan 17 05:48:51 2006 +0000 +++ b/plugins/perl/common/typemap Tue Jan 17 06:09:47 2006 +0000 @@ -89,6 +89,8 @@ Gaim::Log::ReadFlags T_GaimObj Gaim::Log::Set T_GaimObj +Gaim::NetworkListenCallback T_PTR + Gaim::NotifyCloseCallback T_PTR Gaim::NotifyMsgType T_IV Gaim::NotifySearchButtonType T_IV