[macruby-changes] [4587] MacRuby/trunk/NSString.m
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 7 17:40:50 PDT 2010
Revision: 4587
http://trac.macosforge.org/projects/ruby/changeset/4587
Author: lsansonetti at apple.com
Date: 2010-10-07 17:40:48 -0700 (Thu, 07 Oct 2010)
Log Message:
-----------
make sure #pointer won't work on NSStrings
Modified Paths:
--------------
MacRuby/trunk/NSString.m
Modified: MacRuby/trunk/NSString.m
===================================================================
--- MacRuby/trunk/NSString.m 2010-10-08 00:33:19 UTC (rev 4586)
+++ MacRuby/trunk/NSString.m 2010-10-08 00:40:48 UTC (rev 4587)
@@ -425,4 +425,5 @@
rb_objc_define_method(rb_cString, "bytes", rstr_only, 0);
rb_objc_define_method(rb_cString, "each_byte", rstr_only, 0);
rb_objc_define_method(rb_cString, "to_data", rstr_only, 0);
+ rb_objc_define_method(rb_cString, "pointer", rstr_only, 0);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101007/ba577733/attachment.html>
More information about the macruby-changes
mailing list