comparison libpurple/plugins/perl/common/Util.xs @ 23659:f441a38932a2

Fix purple_str_strip_char and purple_util_chrreplace to be able to work.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 07 Aug 2008 04:10:22 +0000
parents 907f5f41e32a
children 7bc52fed6fdb
comparison
equal deleted inserted replaced
23658:9d7ebd28d339 23659:f441a38932a2
354 354
355 gchar_own * 355 gchar_own *
356 purple_str_size_to_units(size) 356 purple_str_size_to_units(size)
357 size_t size 357 size_t size
358 358
359 #TODO: Fix this to handle str being modified in-place 359 void
360 void 360 purple_str_strip_char(IN_OUT char str, thechar)
361 purple_str_strip_char(str, thechar)
362 char *str
363 char thechar 361 char thechar
364 362
365 time_t 363 time_t
366 purple_str_to_time(timestamp, utc = FALSE, tm = NULL, OUTLIST long tz_off, OUTLIST const char *rest) 364 purple_str_to_time(timestamp, utc = FALSE, tm = NULL, OUTLIST long tz_off, OUTLIST const char *rest)
367 const char *timestamp 365 const char *timestamp
512 purple_util_set_current_song(title, artist, album) 510 purple_util_set_current_song(title, artist, album)
513 const char *title 511 const char *title
514 const char *artist 512 const char *artist
515 const char *album 513 const char *album
516 514
517 #TODO: Fix this to handle str being modified in-place 515 void
518 void 516 purple_util_chrreplace(IN_OUT char string, delimiter, replacement)
519 purple_util_chrreplace(string, delimiter, replacement)
520 char* string
521 char delimiter 517 char delimiter
522 char replacement 518 char replacement
523 519
524 gchar_own* 520 gchar_own*
525 purple_util_format_song_info(title, artist, album, unused) 521 purple_util_format_song_info(title, artist, album, unused)