summaryrefslogtreecommitdiff
path: root/vm_args.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-29 16:41:00 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-29 16:41:00 -0700
commit6fdd701472af5355562cb2394167b26a4c3a2a97 (patch)
treebcd0e27d0b7af483e0bac90dec25209de8cfa40a /vm_args.c
parent58dfea0c8de29cbad35621847c04372b779c5f5d (diff)
Remove VM_NO_KEYWORDS, replace with RB_NO_KEYWORDS
VM_NO_KEYWORDS was introduced first in vm_core.h, but it is best to only use a single definition for this.
Diffstat (limited to 'vm_args.c')
-rw-r--r--vm_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_args.c b/vm_args.c
index 3e90e8a16b..92deef5586 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -1064,7 +1064,7 @@ vm_to_proc(VALUE proc)
rb_callable_method_entry_with_refinements(CLASS_OF(proc), idTo_proc, NULL);
if (me) {
- b = rb_vm_call0(GET_EC(), proc, idTo_proc, 0, NULL, me, VM_NO_KEYWORDS);
+ b = rb_vm_call0(GET_EC(), proc, idTo_proc, 0, NULL, me, RB_NO_KEYWORDS);
}
else {
/* NOTE: calling method_missing */