Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   Build failure trying to use rb_define_alias on rb_mKernel (http://www.velocityreviews.com/forums/t845850-build-failure-trying-to-use-rb_define_alias-on-rb_mkernel.html)

Daniel Berger 11-18-2007 03:28 AM

Build failure trying to use rb_define_alias on rb_mKernel
 
Hi,

In object.c, I tried to change this line:
rb_define_method(rb_mKernel, "is_a?", rb_obj_is_kind_of, 1);

To this:
rb_define_alias(rb_mKernel, "is_a?", "kind_of?");

But it dies during the build. What's the issue?

I tried this on Linux and Windows, after a make distclean, btw. Same
result

Thanks,

Dan



All times are GMT. The time now is 04:34 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.