Mercurial > pidgin
diff libpurple/plugins/perl/common/Util.xs @ 25278:7bc52fed6fdb
Remove a handful of string utility functions from perl, they are generally
better handled by perl's built-in functions and at least two of them are
reported to crash currently.
References #6562
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Wed, 07 Jan 2009 03:31:23 +0000 |
parents | f441a38932a2 |
children | 31f65046b92d |
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/Util.xs Wed Jan 07 02:59:36 2009 +0000 +++ b/libpurple/plugins/perl/common/Util.xs Wed Jan 07 03:31:23 2009 +0000 @@ -99,27 +99,10 @@ const char *program gchar_own * -purple_strcasereplace(string, delimiter, replacement) - const char *string - const char *delimiter - const char *replacement - -const char * -purple_strcasestr(haystack, needle) - const char *haystack - const char *needle - -gchar_own * purple_strdup_withhtml(src) const gchar *src gchar_own * -purple_strreplace(string, delimiter, replacement) - const char *string - const char *delimiter - const char *replacement - -gchar_own * purple_text_strip_mnemonic(in) const char *in @@ -356,10 +339,6 @@ purple_str_size_to_units(size) size_t size -void -purple_str_strip_char(IN_OUT char str, thechar) - char thechar - time_t purple_str_to_time(timestamp, utc = FALSE, tm = NULL, OUTLIST long tz_off, OUTLIST const char *rest) const char *timestamp @@ -512,11 +491,6 @@ const char *artist const char *album -void -purple_util_chrreplace(IN_OUT char string, delimiter, replacement) - char delimiter - char replacement - gchar_own* purple_util_format_song_info(title, artist, album, unused) const char* title