mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Rename rb_iterate to get rid of name clash on Sun C
This commit is contained in:
parent
6f6a84f2f3
commit
93ddff4802
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE);
|
|||
#ifdef __cplusplus
|
||||
namespace ruby {namespace backward {
|
||||
static inline VALUE
|
||||
rb_iterate(VALUE (*iter)(VALUE), VALUE data1, rb_block_call_func_t bl, VALUE data2)
|
||||
rb_iterate_deprecated(VALUE (*iter)(VALUE), VALUE data1, rb_block_call_func_t bl, VALUE data2)
|
||||
{
|
||||
return ::rb_iterate(iter, data1, bl, data2);
|
||||
}}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue