[macruby-changes] [3777] MacRuby/trunk/object.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 16 17:03:48 PDT 2010
Revision: 3777
http://trac.macosforge.org/projects/ruby/changeset/3777
Author: martinlagardette at apple.com
Date: 2010-03-16 17:03:46 -0700 (Tue, 16 Mar 2010)
Log Message:
-----------
Remove #__native__? (debug method)
- Fixes 7692646
Modified Paths:
--------------
MacRuby/trunk/object.c
Modified: MacRuby/trunk/object.c
===================================================================
--- MacRuby/trunk/object.c 2010-03-16 23:51:55 UTC (rev 3776)
+++ MacRuby/trunk/object.c 2010-03-17 00:03:46 UTC (rev 3777)
@@ -2894,12 +2894,6 @@
}
static VALUE
-rb_obj_is_native(VALUE recv, SEL sel)
-{
- return NATIVE(recv) ? Qtrue : Qfalse;
-}
-
-static VALUE
rb_class_is_meta(VALUE klass, SEL sel)
{
return RCLASS_META(klass) ? Qtrue : Qfalse;
@@ -3096,8 +3090,6 @@
rb_objc_define_method(rb_mKernel, "is_a?", rb_obj_is_kind_of_imp, 1);
rb_objc_define_method(rb_mKernel, "tap", rb_obj_tap, 0);
- rb_objc_define_method(rb_mKernel, "__native__?", rb_obj_is_native, 0);
-
rb_objc_define_module_function(rb_mKernel, "sprintf", rb_f_sprintf_imp, -1); /* in sprintf.c */
rb_objc_define_module_function(rb_mKernel, "format", rb_f_sprintf_imp, -1); /* in sprintf.c */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100316/2758d25f/attachment-0001.html>
More information about the macruby-changes
mailing list