diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-21 20:58:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-21 20:58:26 +0000 |
commit | fe1ce93f52827f59c069247a6e5998c3a5f907b8 (patch) | |
tree | dc68c377c5347844138e9aa22610ee815677a7a4 /vm_method.c | |
parent | 2c34b66e24f1992e2ceca0b8a8f3d710f05f21ae (diff) |
* compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vm_method.c b/vm_method.c index a2558bc6e9..b64dbcc683 100644 --- a/vm_method.c +++ b/vm_method.c @@ -455,7 +455,7 @@ rb_enable_super(VALUE klass, const char *name) } static void -rb_export_method(VALUE klass, ID name, ID noex) +rb_export_method(VALUE klass, ID name, rb_method_flag_t noex) { rb_method_entry_t *me; @@ -491,14 +491,14 @@ rb_method_boundp(VALUE klass, ID id, int ex) if (me != 0) { if (ex && (me->flag & NOEX_PRIVATE)) { - return Qfalse; + return FALSE; } if (!me->def || me->def->type == VM_METHOD_TYPE_NOTIMPLEMENTED) { - return Qfalse; + return FALSE; } - return Qtrue; + return TRUE; } - return Qfalse; + return FALSE; } void @@ -879,7 +879,7 @@ secure_visibility(VALUE self) } static void -set_method_visibility(VALUE self, int argc, VALUE *argv, ID ex) +set_method_visibility(VALUE self, int argc, VALUE *argv, rb_method_flag_t ex) { int i; secure_visibility(self); @@ -1135,7 +1135,7 @@ rb_obj_respond_to(VALUE obj, ID id, int priv) int rb_respond_to(VALUE obj, ID id) { - return rb_obj_respond_to(obj, id, Qfalse); + return rb_obj_respond_to(obj, id, FALSE); } /* |