Mercurial > pidgin
annotate plugins/perl/common/BuddyList_Chat.xs @ 10775:d47e82ac9918
[gaim-migrate @ 12385]
perl compiles again, I broke it when I removed gaim_chat_get_display_name.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 02 Apr 2005 19:48:42 +0000 |
parents | 7a8aa87164ae |
children |
rev | line source |
---|---|
6542 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::BuddyList::Chat PACKAGE = Gaim::BuddyList::Chat PREFIX = gaim_chat_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 void | |
7 set_alias(chat, alias) | |
8 Gaim::BuddyList::Chat chat | |
9 const char *alias | |
10 CODE: | |
11 gaim_blist_alias_chat(chat, alias); | |
12 | |
13 const char * | |
10775 | 14 gaim_chat_get_name(chat) |
6542 | 15 Gaim::BuddyList::Chat chat |
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
16 CODE: |
10775 | 17 RETVAL = gaim_chat_get_name(chat); |
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
18 OUTPUT: |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
19 RETVAL |
6542 | 20 |
21 Gaim::BuddyList::Group | |
7125 | 22 gaim_chat_get_group(chat) |
6542 | 23 Gaim::BuddyList::Chat chat |
24 CODE: | |
7125 | 25 RETVAL = gaim_chat_get_group(chat); |
6542 | 26 OUTPUT: |
27 RETVAL | |
28 | |
29 Gaim::Account | |
30 get_account(chat) | |
31 Gaim::BuddyList::Chat chat | |
32 CODE: | |
33 RETVAL = chat->account; | |
34 OUTPUT: | |
35 RETVAL |