Mercurial > pidgin.yaz
comparison libpurple/plugins/perl/common/Status.xs @ 32483:09449ccf8ada
Fix Perl build by removing functions that are gone from libpurple.
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Fri, 02 Sep 2011 06:09:52 +0000 |
parents | 80eabeb5b794 |
children |
comparison
equal
deleted
inserted
replaced
32482:79eb87d4a8e0 | 32483:09449ccf8ada |
---|---|
72 | 72 |
73 for (civ = primitive_const_iv + sizeof(primitive_const_iv) / sizeof(primitive_const_iv[0]); civ-- > primitive_const_iv; ) | 73 for (civ = primitive_const_iv + sizeof(primitive_const_iv) / sizeof(primitive_const_iv[0]); civ-- > primitive_const_iv; ) |
74 newCONSTSUB(primitive_stash, (char *)civ->name, newSViv(civ->iv)); | 74 newCONSTSUB(primitive_stash, (char *)civ->name, newSViv(civ->iv)); |
75 } | 75 } |
76 | 76 |
77 void | |
78 purple_presence_add_list(presence, source_list) | |
79 Purple::Presence presence | |
80 SV *source_list | |
81 PREINIT: | |
82 GList *t_GL; | |
83 int i, t_len; | |
84 PPCODE: | |
85 t_GL = NULL; | |
86 t_len = av_len((AV *)SvRV(source_list)); | |
87 | |
88 for (i = 0; i <= t_len; i++) { | |
89 t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(source_list), i, 0))); | |
90 } | |
91 purple_presence_add_list(presence, t_GL); | |
92 g_list_free(t_GL); | |
93 | |
94 void | |
95 purple_presence_add_status(presence, status) | |
96 Purple::Presence presence | |
97 Purple::Status status | |
98 | |
99 gint | 77 gint |
100 purple_presence_compare(presence1, presence2) | 78 purple_presence_compare(presence1, presence2) |
101 Purple::Presence presence1 | 79 Purple::Presence presence1 |
102 Purple::Presence presence2 | 80 Purple::Presence presence2 |
103 | 81 |
327 void | 305 void |
328 purple_status_set_active(status, active) | 306 purple_status_set_active(status, active) |
329 Purple::Status status | 307 Purple::Status status |
330 gboolean active | 308 gboolean active |
331 | 309 |
332 void | |
333 purple_status_set_attr_boolean(status, id, value) | |
334 Purple::Status status | |
335 const char *id | |
336 gboolean value | |
337 | |
338 void | |
339 purple_status_set_attr_string(status, id, value) | |
340 Purple::Status status | |
341 const char *id | |
342 const char *value | |
343 | |
344 MODULE = Purple::Status PACKAGE = Purple::StatusType PREFIX = purple_status_type_ | 310 MODULE = Purple::Status PACKAGE = Purple::StatusType PREFIX = purple_status_type_ |
345 PROTOTYPES: ENABLE | 311 PROTOTYPES: ENABLE |
346 | |
347 void | |
348 purple_status_type_add_attr(status_type, id, name, value) | |
349 Purple::StatusType status_type | |
350 const char *id | |
351 const char *name | |
352 Purple::Value value | |
353 | 312 |
354 void | 313 void |
355 purple_status_type_destroy(status_type) | 314 purple_status_type_destroy(status_type) |
356 Purple::StatusType status_type | 315 Purple::StatusType status_type |
357 | 316 |