[macruby-changes] [5142] MacRuby/trunk/string.c
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jan 8 09:18:52 PST 2011
Revision: 5142
http://trac.macosforge.org/projects/ruby/changeset/5142
Author: lsansonetti at apple.com
Date: 2011-01-08 09:18:48 -0800 (Sat, 08 Jan 2011)
Log Message:
-----------
implement rb_str_plus CRuby API
Modified Paths:
--------------
MacRuby/trunk/string.c
Modified: MacRuby/trunk/string.c
===================================================================
--- MacRuby/trunk/string.c 2011-01-08 17:08:14 UTC (rev 5141)
+++ MacRuby/trunk/string.c 2011-01-08 17:18:48 UTC (rev 5142)
@@ -6669,6 +6669,13 @@
}
VALUE
+rb_str_plus(VALUE str1, VALUE str2)
+{
+ str1 = (VALUE)str_need_string(str1);
+ return rstr_plus(str1, 0, str2);
+}
+
+VALUE
rstr_new_path(const char *path)
{
// XXX this should be rewritten using ICU (utrans.h?) to avoid creating
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20110108/b5af41a7/attachment.html>
More information about the macruby-changes
mailing list