|
Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Go to the source code of this file.
Macros | |
| #define | LIKELY(x) RB_LIKELY(x) |
| #define | UNLIKELY(x) RB_UNLIKELY(x) |
| #define | numberof(array) ((int)(sizeof(array) / sizeof((array)[0]))) |
| #define | roomof(x, y) (((x) + (y) - 1) / (y)) |
| #define | type_roomof(x, y) roomof(sizeof(x), sizeof(y)) |
| #define | ACCESS_ONCE(type, x) (*((volatile type *)&(x))) |
| #define | rb_ary_new_from_args(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rb_io_fptr_finalize(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rb_fstring_cstr(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rb_sym_intern_ascii_cstr(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rb_funcallv(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rb_method_basic_definition_p(...) rb_nonexistent_symbol(__VA_ARGS__) |
| #define | rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING) |
| #define | rp_m(msg, obj) |
| #define | bp() ruby_debug_breakpoint() |
Functions | |
| void | rb_obj_info_dump (VALUE obj) |
| void | rb_obj_info_dump_loc (VALUE obj, const char *file, int line, const char *func) |
| void | ruby_debug_breakpoint (void) |
| void | ruby_debug_printf (const char *,...) |
Definition in file internal.h.
| #define ACCESS_ONCE | ( | type, | |
| x | |||
| ) | (*((volatile type *)&(x))) |
Definition at line 27 of file internal.h.
| #define bp | ( | ) | ruby_debug_breakpoint() |
Definition at line 105 of file internal.h.
| #define LIKELY | ( | x | ) | RB_LIKELY(x) |
Definition at line 19 of file internal.h.
| #define numberof | ( | array | ) | ((int)(sizeof(array) / sizeof((array)[0]))) |
Definition at line 22 of file internal.h.
| #define rb_ary_new_from_args | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 65 of file internal.h.
| #define rb_fstring_cstr | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 71 of file internal.h.
| #define rb_funcallv | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 77 of file internal.h.
| #define rb_io_fptr_finalize | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 68 of file internal.h.
| #define rb_method_basic_definition_p | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 78 of file internal.h.
| #define rb_sym_intern_ascii_cstr | ( | ... | ) | rb_nonexistent_symbol(__VA_ARGS__) |
Definition at line 74 of file internal.h.
| #define roomof | ( | x, | |
| y | |||
| ) | (((x) + (y) - 1) / (y)) |
Definition at line 23 of file internal.h.
| #define rp | ( | obj | ) | rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING) |
Definition at line 95 of file internal.h.
| #define rp_m | ( | msg, | |
| obj | |||
| ) |
Definition at line 98 of file internal.h.
| #define type_roomof | ( | x, | |
| y | |||
| ) | roomof(sizeof(x), sizeof(y)) |
Definition at line 24 of file internal.h.
| #define UNLIKELY | ( | x | ) | RB_UNLIKELY(x) |
Definition at line 20 of file internal.h.
| void rb_obj_info_dump | ( | VALUE | obj | ) |
Definition at line 12505 of file gc.c.
References rb_raw_obj_info().
Definition at line 12512 of file gc.c.
References rb_raw_obj_info().