# HG changeset patch # User Christian Hammond # Date 1062474968 0 # Node ID 12169973c66392a853dac904e26c33e0ad20d04d # Parent fe9568f4055f86dfb8c4159e641cc71a3562e418 [gaim-migrate @ 7225] Perl compiles with the new contact stuff. committer: Tailor Script diff -r fe9568f4055f -r 12169973c663 plugins/perl/common/BuddyList.xs --- 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) diff -r fe9568f4055f -r 12169973c663 plugins/perl/common/BuddyList_Chat.xs --- 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) diff -r fe9568f4055f -r 12169973c663 plugins/perl/common/module.h --- 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;