Ruby
2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
|
Go to the documentation of this file. 1 #ifndef RUBY_BACKWARD_CXXANYARGS_HPP // -*- C++ -*-
2 #define RUBY_BACKWARD_CXXANYARGS_HPP
36 namespace cxxanyargs {
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);
439 #endif // RUBY_BACKWARD_CXXANYARGS_HPP
VALUE rb_proc_new(type *q, VALUE w)
Creates a rb_cProc instance.
int int_type(ANYARGS)
ANYARGS-ed function type, int variant.
int st_foreach_check(st_table *tab, st_foreach_check_callback_func *func, st_data_t arg, st_data_t never ATTRIBUTE_UNUSED)
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.
VALUE rb_rescue(type *q, VALUE w, type *e, VALUE r)
An equivalent of rescue clause.
int st_foreach(st_table *q, int_type *w, st_data_t e)
Iteration over the given table.
VALUE rb_gvar_getter_t(ID id, VALUE *data)
void rb_gvar_setter_t(VALUE val, ID id, VALUE *data)
VALUE rb_thread_create(type *q, void *w)
Creates a rb_cThread instance.
void rb_ivar_foreach(VALUE q, int_type *w, VALUE e)
Iteration over each instance variable of the object.
VALUE rb_catch_obj(VALUE q, type *w, VALUE e)
An equivalent of Kernel#catch.
int st_foreach_check_callback_func(st_data_t, st_data_t, st_data_t, int)
Provides ANYARGS deprecation warnings.
int st_foreach_callback_func(st_data_t, st_data_t, st_data_t)
VALUE rb_catch(const char *q, type *w, VALUE e)
An equivalent of Kernel#catch.
VALUE rb_rescue2(type *q, VALUE w, type *e, VALUE r,...)
An equivalent of rescue clause.
VALUE rb_vrescue2(VALUE(*b_proc)(VALUE), VALUE data1, VALUE(*r_proc)(VALUE, VALUE), VALUE data2, va_list args)
An equivalent of rescue clause.
int st_foreach(st_table *tab, st_foreach_callback_func *func, st_data_t arg)
rb_block_call_func * rb_block_call_func_t
#define RUBY_CXX_DEPRECATED(mesg)
VALUE rb_block_call(VALUE q, ID w, int e, const VALUE *r, type *t, VALUE y)
Call a method with a block.
int st_foreach_check(st_table *q, int_type *w, st_data_t e, st_data_t)
Iteration over the given table.
void rb_hash_foreach(VALUE q, int_type *w, VALUE e)
Iteration over the given hash.
VALUE rb_iterate(VALUE(*q)(VALUE), VALUE w, type *e, VALUE r)
Old way to implement iterators.
void void_type(ANYARGS)
ANYARGS-ed function type, void variant.
void rb_define_hooked_variable(const char *q, VALUE *w, type *e, void_type *r)
Define a function-backended global variable.
VALUE rb_ensure(type *q, VALUE w, type *e, VALUE r)
An equivalent of ensure clause.
void rb_define_virtual_variable(const char *q, type *w, void_type *e)
Define a function-backended global variable.
VALUE type(ANYARGS)
ANYARGS-ed function type.