Skip to content

Commit 8d6cfbe

Browse files
author
Yorick Peterse
committedMay 8, 2015
Alias rb_funcallv to rb_funcall2
MRI remaed rb_funcall2 to rb_funcallv but we'll just add rb_funcallv as an alias so we don't have to find/replace a whole bunch of occurrences of rb_funcall2.
1 parent 28834a4 commit 8d6cfbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

Diff for: ‎vm/include/capi/ruby/ruby.h

+2
Original file line numberDiff line numberDiff line change
@@ -1401,6 +1401,8 @@ struct RTypedData {
14011401
VALUE rb_funcall2(VALUE receiver, ID method_name,
14021402
int arg_count, const VALUE* args);
14031403

1404+
#define rb_funcallv rb_funcall2
1405+
14041406
/** Call the method with args provided in a C array and block.
14051407
* Calls private methods. */
14061408
VALUE rb_funcall2b(VALUE receiver, ID method_name, int arg_count,

0 commit comments

Comments
 (0)