mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-03 21:45:32 +02:00
Properly use Ruby 2.7 rb_proc_new
This commit is contained in:
parent
78bf355573
commit
10b367f76a
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ RB_METHOD(kernelSaveData) {
|
|||
#if RAPI_FULL < 270
|
||||
static VALUE stringForceUTF8(VALUE arg)
|
||||
#else
|
||||
static VALUE stringForceUTF8(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, arg))
|
||||
static VALUE stringForceUTF8(RB_BLOCK_CALL_FUNC_ARGLIST(arg, callback_arg))
|
||||
#endif
|
||||
{
|
||||
if (RB_TYPE_P(arg, RUBY_T_STRING) && ENCODING_IS_ASCII8BIT(arg))
|
||||
|
|
Loading…
Add table
Reference in a new issue