1#ifndef RUBY_BACKWARD_CXXANYARGS_HPP
2#define RUBY_BACKWARD_CXXANYARGS_HPP
202 func1_t *t =
reinterpret_cast<func1_t*
>(q);
203 func2_t *y =
reinterpret_cast<func2_t*
>(e);
226 func1_t *t =
reinterpret_cast<func1_t*
>(q);
227 func2_t *y =
reinterpret_cast<func2_t*
>(e);
251 func1_t *t =
reinterpret_cast<func1_t*
>(q);
252 func1_t *y =
reinterpret_cast<func1_t*
>(e);
342 typedef VALUE ptr_t(
void*);
343 ptr_t *e =
reinterpret_cast<ptr_t*
>(q);
Provides ANYARGS deprecation warnings.
VALUE rb_catch_obj(VALUE q, type *w, VALUE e)
An equivalent of Kernel#catch.
VALUE rb_catch(const char *q, type *w, VALUE e)
An equivalent of Kernel#catch.
void rb_define_hooked_variable(const char *q, VALUE *w, type *e, void_type *r)
Define a function-backended global variable.
VALUE rb_thread_create(type *q, void *w)
Creates a rb_cThread instance.
int int_type(ANYARGS)
ANYARGS-ed function type, int variant.
void void_type(ANYARGS)
ANYARGS-ed function type, void variant.
VALUE rb_block_call(VALUE q, ID w, int e, const VALUE *r, type *t, VALUE y)
Call a method with a block.
VALUE rb_proc_new(type *q, VALUE w)
Creates a rb_cProc instance.
VALUE rb_iterate(VALUE(*q)(VALUE), VALUE w, type *e, VALUE r)
Old way to implement iterators.
VALUE type(ANYARGS)
ANYARGS-ed function type.
VALUE rb_fiber_new(type *q, VALUE w)
Creates a rb_cFiber instance.
void st_foreach_safe(st_table *q, int_type *w, st_data_t e)
Iteration over the given table.
int st_foreach(st_table *q, int_type *w, st_data_t e)
Iteration over the given table.
void rb_hash_foreach(VALUE q, int_type *w, VALUE e)
Iteration over the given hash.
void rb_define_virtual_variable(const char *q, type *w, void_type *e)
Define a function-backended global variable.
void rb_ivar_foreach(VALUE q, int_type *w, VALUE e)
Iteration over each instance variable of the object.
VALUE rb_rescue2(type *q, VALUE w, type *e, VALUE r,...)
An equivalent of rescue clause.
VALUE rb_rescue(type *q, VALUE w, type *e, VALUE r)
An equivalent of rescue clause.
VALUE rb_ensure(type *q, VALUE w, type *e, VALUE r)
An equivalent of ensure clause.
int st_foreach_check(st_table *q, int_type *w, st_data_t e, st_data_t)
Iteration over the given table.
int st_foreach(st_table *tab, st_foreach_callback_func *func, st_data_t arg)
int st_foreach_check(st_table *tab, st_foreach_check_callback_func *func, st_data_t arg, st_data_t never ATTRIBUTE_UNUSED)