changeset 6699:12169973c663

[gaim-migrate @ 7225] Perl compiles with the new contact stuff. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 02 Sep 2003 03:56:08 +0000
parents fe9568f4055f
children 57161e3abbb5
files plugins/perl/common/BuddyList.xs plugins/perl/common/BuddyList_Chat.xs plugins/perl/common/module.h
diffstat 3 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/common/BuddyList.xs	Tue Sep 02 03:54:52 2003 +0000
+++ b/plugins/perl/common/BuddyList.xs	Tue Sep 02 03:56:08 2003 +0000
@@ -12,7 +12,7 @@
 	Gaim::BuddyList::Buddy buddy
 	Gaim::BuddyList::Group group
 CODE:
-	gaim_blist_add_buddy(buddy, group, NULL);
+	gaim_blist_add_buddy(buddy, NULL, group, NULL);
 
 void
 add_group(group)
--- a/plugins/perl/common/BuddyList_Chat.xs	Tue Sep 02 03:54:52 2003 +0000
+++ b/plugins/perl/common/BuddyList_Chat.xs	Tue Sep 02 03:56:08 2003 +0000
@@ -13,6 +13,10 @@
 const char *
 gaim_chat_get_display_name(chat)
 	Gaim::BuddyList::Chat chat
+CODE:
+	RETVAL = gaim_blist_chat_get_display_name(chat);
+OUTPUT:
+	RETVAL
 
 Gaim::BuddyList::Group
 gaim_blist_chat_get_group(chat)
@@ -32,6 +36,10 @@
 gaim_chat_get_setting(chat, key)
 	Gaim::BuddyList::Chat chat
 	const char *key
+CODE:
+	RETVAL = gaim_blist_chat_get_setting(chat, key);
+OUTPUT:
+	RETVAL
 
 Gaim::Account
 get_account(chat)
--- a/plugins/perl/common/module.h	Tue Sep 02 03:54:52 2003 +0000
+++ b/plugins/perl/common/module.h	Tue Sep 02 03:56:08 2003 +0000
@@ -18,9 +18,10 @@
 #include "server.h"
 
 typedef GaimAccount *     Gaim__Account;
-typedef struct buddy *    Gaim__BuddyList__Buddy;
-typedef struct chat *     Gaim__BuddyList__Chat;
-typedef struct group *    Gaim__BuddyList__Group;
+typedef GaimBuddy *       Gaim__BuddyList__Buddy;
+typedef GaimBlistChat *   Gaim__BuddyList__Chat;
+typedef GaimGroup *       Gaim__BuddyList__Group;
+typedef GaimContact *     Gaim__BuddyList__Contact;
 typedef GaimConnection *  Gaim__Connection;
 typedef GaimConversation *Gaim__Conversation;
 typedef GaimChat *        Gaim__Conversation__Chat;