mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix arity mismatch
Seems nobody has actually used this macro. Such an obvious typo.
This commit is contained in:
parent
59cfa2d187
commit
2f3b4029da
Notes:
git
2019-10-09 12:12:54 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -1618,7 +1618,7 @@ void rb_copy_wb_protected_attribute(VALUE dest, VALUE obj);
|
|||
|
||||
#if defined(HAVE_MALLOC_USABLE_SIZE) || defined(HAVE_MALLOC_SIZE) || defined(_WIN32)
|
||||
#define ruby_sized_xrealloc(ptr, new_size, old_size) ruby_xrealloc(ptr, new_size)
|
||||
#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc(ptr, new_count, element_size)
|
||||
#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc2(ptr, new_count, element_size)
|
||||
#define ruby_sized_xfree(ptr, size) ruby_xfree(ptr)
|
||||
#define SIZED_REALLOC_N(var,type,n,old_n) REALLOC_N(var, type, n)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue