diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-06 09:10:17 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-06 09:10:17 +0000 |
commit | d2e13dc5cb7e726f99babbe4822f0c1dbe16c44f (patch) | |
tree | eec41855f704ff341615ee87a464a66dd40a7469 /eval.c | |
parent | 32961d039c86c43f76f986b91804ba506f785bc0 (diff) | |
download | ruby-d2e13dc5cb7e726f99babbe4822f0c1dbe16c44f.tar.gz ruby-d2e13dc5cb7e726f99babbe4822f0c1dbe16c44f.tar.xz ruby-d2e13dc5cb7e726f99babbe4822f0c1dbe16c44f.zip |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6585,10 +6585,10 @@ rb_mod_define_method(argc, argv, mod) if (TYPE(body) != T_DATA) { /* type error */ } - if (RDATA(body)->dmark == bm_mark) { + if (RDATA(body)->dmark == (RUBY_DATA_FUNC)bm_mark) { rb_add_method(mod, id, NEW_DMETHOD(method_unbind(body)), NOEX_PUBLIC); } - else if (RDATA(body)->dmark != blk_mark) { + else if (RDATA(body)->dmark != (RUBY_DATA_FUNC)blk_mark) { rb_add_method(mod, id, NEW_BMETHOD(body), NOEX_PUBLIC); } else { |