Mercurial > pidgin.yaz
diff plugins/perl/common/Conversation.xs @ 12340:11d14efe7be2
[gaim-migrate @ 14644]
sf patch #1373208, from Will Thompson
"In Perl, we have Gaim::Conversation objects.
However, all the functions that take
Gaim::Conversations as the first argument are in the
Gaim::Conv package. This makes the following not work:
my $conv = Gaim::Conv::new();
$conv->get_features();
Instead, one has to do the following:
my $conv = Gaim::Conv::new();
Gaim::Conv::get_features($conv);"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 05 Dec 2005 03:53:00 +0000 |
parents | 7568b126ffd5 |
children | 6fd82071a7b8 |
line wrap: on
line diff
--- a/plugins/perl/common/Conversation.xs Mon Dec 05 03:42:48 2005 +0000 +++ b/plugins/perl/common/Conversation.xs Mon Dec 05 03:53:00 2005 +0000 @@ -1,6 +1,6 @@ #include "module.h" -MODULE = Gaim::Conv PACKAGE = Gaim::Conv PREFIX = gaim_conversation_ +MODULE = Gaim::Conversation PACKAGE = Gaim::Conversation PREFIX = gaim_conversation_ PROTOTYPES: ENABLE void * @@ -136,7 +136,7 @@ -MODULE = Gaim::Conv PACKAGE = Gaim::Conv::IM PREFIX = gaim_conv_im_ +MODULE = Gaim::Conversation PACKAGE = Gaim::Conversation::IM PREFIX = gaim_conv_im_ PROTOTYPES: ENABLE Gaim::Conversation @@ -215,7 +215,7 @@ time_t mtime -MODULE = Gaim::Conv PACKAGE = Gaim::Conv PREFIX = gaim_conv_ +MODULE = Gaim::Conversation PACKAGE = Gaim::Conversation PREFIX = gaim_conv_ PROTOTYPES: ENABLE gboolean @@ -234,7 +234,7 @@ -MODULE = Gaim::Conv PACKAGE = Gaim::Conv::Chat PREFIX = gaim_conv_chat_ +MODULE = Gaim::Conversation PACKAGE = Gaim::Conversation::Chat PREFIX = gaim_conv_chat_ PROTOTYPES: ENABLE Gaim::Conversation