pidgin: aff59a95: Fix purple_str_strip_char and purple_uti...

datallah at pidgin.im datallah at pidgin.im
Thu Aug 7 00:16:14 EDT 2008


-----------------------------------------------------------------
Revision: aff59a95703296db85f67808b0cc563871580a88
Ancestor: 4a34c6f3d82579eb81cd2bad3becb53b15f91156
Author: datallah at pidgin.im
Date: 2008-08-07T04:10:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/aff59a95703296db85f67808b0cc563871580a88

Modified files:
        libpurple/plugins/perl/common/Util.xs

ChangeLog: 

Fix purple_str_strip_char and purple_util_chrreplace to be able to work.

-------------- next part --------------
============================================================
--- libpurple/plugins/perl/common/Util.xs	aae0d34b5d7e14aa36eff97035608355cafb0adb
+++ libpurple/plugins/perl/common/Util.xs	3428ec628bf8dddffe068b26bfc42a539a9e8b7b
@@ -356,10 +356,8 @@ purple_str_size_to_units(size)
 purple_str_size_to_units(size)
 	size_t size
 
-#TODO: Fix this to handle str being modified in-place
 void
-purple_str_strip_char(str, thechar)
-	char *str
+purple_str_strip_char(IN_OUT char str, thechar)
 	char thechar
 
 time_t
@@ -514,10 +512,8 @@ purple_util_set_current_song(title, arti
 	const char *artist
 	const char *album
 
-#TODO: Fix this to handle str being modified in-place
 void
-purple_util_chrreplace(string, delimiter, replacement)
-	char* string
+purple_util_chrreplace(IN_OUT char string, delimiter, replacement)
 	char delimiter
 	char replacement
 


More information about the Commits mailing list