[svn:parrot] r45542 - branches/immutable_strings_part1/include/parrot

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Apr 10 23:45:49 UTC 2010


Author: bacek
Date: Sat Apr 10 23:45:49 2010
New Revision: 45542
URL: https://trac.parrot.org/parrot/changeset/45542

Log:
Made case-changing function to return string.

Modified:
   branches/immutable_strings_part1/include/parrot/charset.h

Modified: branches/immutable_strings_part1/include/parrot/charset.h
==============================================================================
--- branches/immutable_strings_part1/include/parrot/charset.h	Sat Apr 10 21:46:35 2010	(r45541)
+++ branches/immutable_strings_part1/include/parrot/charset.h	Sat Apr 10 23:45:49 2010	(r45542)
@@ -40,12 +40,12 @@
 typedef STRING * (*charset_from_unicode_t)(PARROT_INTERP, STRING *source_string);
 typedef STRING* (*charset_compose_t)(PARROT_INTERP, STRING *source_string);
 typedef STRING* (*charset_decompose_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_upcase_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_downcase_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_titlecase_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_upcase_first_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_downcase_first_t)(PARROT_INTERP, STRING *source_string);
-typedef void (*charset_titlecase_first_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_upcase_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_downcase_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_titlecase_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_upcase_first_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_downcase_first_t)(PARROT_INTERP, STRING *source_string);
+typedef STRING* (*charset_titlecase_first_t)(PARROT_INTERP, STRING *source_string);
 typedef INTVAL (*charset_compare_t)(PARROT_INTERP, const STRING *lhs, const STRING *rhs);
 typedef INTVAL (*charset_index_t)(PARROT_INTERP, STRING *source_string, STRING *search_string, UINTVAL offset);
 typedef INTVAL (*charset_rindex_t)(PARROT_INTERP, STRING *source_string, STRING *search_string, UINTVAL offset);


More information about the parrot-commits mailing list