Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ruby/config.h"
#include "defines.h"
#include <stdarg.h>
#include "ruby/intern.h"
#include "ruby/subst.h"
#include "ruby/backward.h"
Go to the source code of this file.
Data Structures | |
struct | RBasic |
struct | RObject |
struct | RString |
struct | RArray |
struct | RRegexp |
struct | RFile |
struct | RData |
struct | rb_data_type_struct |
struct | RTypedData |
Macros | |
#define | ASSUME(x) ((void)(x)) |
#define | UNREACHABLE ((void)0) /* unreachable */ |
#define | RUBY_MACRO_SELECT(base, n) TOKEN_PASTE(base, n) |
#define | SIGNED_VALUE long |
#define | SIZEOF_VALUE SIZEOF_LONG |
#define | PRI_VALUE_PREFIX "l" |
#define | PRI_INT_PREFIX "" |
#define | PRI_LONG_PREFIX "l" |
#define | RUBY_PRI_VALUE_MARK "\v" |
#define | PRIdVALUE PRI_VALUE_PREFIX"d" |
#define | PRIoVALUE PRI_VALUE_PREFIX"o" |
#define | PRIuVALUE PRI_VALUE_PREFIX"u" |
#define | PRIxVALUE PRI_VALUE_PREFIX"x" |
#define | PRIXVALUE PRI_VALUE_PREFIX"X" |
#define | PRIsVALUE PRI_VALUE_PREFIX"i" RUBY_PRI_VALUE_MARK |
#define | PRI_TIMET_PREFIX |
#define | PRI_PTRDIFF_PREFIX "" |
#define | PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
#define | PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i" |
#define | PRIoPTRDIFF PRI_PTRDIFF_PREFIX"o" |
#define | PRIuPTRDIFF PRI_PTRDIFF_PREFIX"u" |
#define | PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
#define | PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X" |
#define | PRI_SIZE_PREFIX "" |
#define | PRIdSIZE PRI_SIZE_PREFIX"d" |
#define | PRIiSIZE PRI_SIZE_PREFIX"i" |
#define | PRIoSIZE PRI_SIZE_PREFIX"o" |
#define | PRIuSIZE PRI_SIZE_PREFIX"u" |
#define | PRIxSIZE PRI_SIZE_PREFIX"x" |
#define | PRIXSIZE PRI_SIZE_PREFIX"X" |
#define | LONG_MAX 2147483647 |
#define | LONG_MIN (-LONG_MAX-1) |
#define | CHAR_BIT 8 |
#define | RUBY_FIXNUM_MAX (LONG_MAX>>1) |
#define | RUBY_FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
#define | FIXNUM_MAX RUBY_FIXNUM_MAX |
#define | FIXNUM_MIN RUBY_FIXNUM_MIN |
#define | RB_INT2FIX(i) (((VALUE)(i))<<1 | RUBY_FIXNUM_FLAG) |
#define | INT2FIX(i) RB_INT2FIX(i) |
#define | RB_LONG2FIX(i) RB_INT2FIX(i) |
#define | LONG2FIX(i) RB_INT2FIX(i) |
#define | rb_fix_new(v) RB_INT2FIX(v) |
#define | rb_int_new(v) rb_int2inum(v) |
#define | rb_uint_new(v) rb_uint2inum(v) |
#define | OFFT2NUM(v) LONG2NUM(v) |
#define | SIZET2NUM(v) ULONG2NUM(v) |
#define | SSIZET2NUM(v) LONG2NUM(v) |
#define | SIZE_MAX ULONG_MAX |
#define | SIZE_MIN ULONG_MIN |
#define | SSIZE_MAX LONG_MAX |
#define | SSIZE_MIN LONG_MIN |
#define | rb_long2int(n) ((int)(n)) |
#define | PIDT2NUM(v) LONG2NUM(v) |
#define | NUM2PIDT(v) NUM2LONG(v) |
#define | UIDT2NUM(v) LONG2NUM(v) |
#define | NUM2UIDT(v) NUM2LONG(v) |
#define | GIDT2NUM(v) LONG2NUM(v) |
#define | NUM2GIDT(v) NUM2LONG(v) |
#define | NUM2MODET(v) NUM2INT(v) |
#define | MODET2NUM(v) INT2NUM(v) |
#define | RB_FIX2LONG(x) ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
#define | RB_FIX2ULONG(x) ((unsigned long)RB_FIX2LONG(x)) |
#define | RB_FIXNUM_P(f) (((int)(SIGNED_VALUE)(f))&RUBY_FIXNUM_FLAG) |
#define | RB_POSFIXABLE(f) ((f) < RUBY_FIXNUM_MAX+1) |
#define | RB_NEGFIXABLE(f) ((f) >= RUBY_FIXNUM_MIN) |
#define | RB_FIXABLE(f) (RB_POSFIXABLE(f) && RB_NEGFIXABLE(f)) |
#define | FIX2LONG(x) RB_FIX2LONG(x) |
#define | FIX2ULONG(x) RB_FIX2ULONG(x) |
#define | FIXNUM_P(f) RB_FIXNUM_P(f) |
#define | POSFIXABLE(f) RB_POSFIXABLE(f) |
#define | NEGFIXABLE(f) RB_NEGFIXABLE(f) |
#define | FIXABLE(f) RB_FIXABLE(f) |
#define | RB_IMMEDIATE_P(x) ((VALUE)(x) & RUBY_IMMEDIATE_MASK) |
#define | IMMEDIATE_P(x) RB_IMMEDIATE_P(x) |
#define | RB_STATIC_SYM_P(x) (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT)) == RUBY_SYMBOL_FLAG) |
#define | RB_DYNAMIC_SYM_P(x) (!RB_SPECIAL_CONST_P(x) && RB_BUILTIN_TYPE(x) == (RUBY_T_SYMBOL)) |
#define | RB_SYMBOL_P(x) (RB_STATIC_SYM_P(x)||RB_DYNAMIC_SYM_P(x)) |
#define | RB_ID2SYM(x) (rb_id2sym(x)) |
#define | RB_SYM2ID(x) (rb_sym2id(x)) |
#define | STATIC_SYM_P(x) RB_STATIC_SYM_P(x) |
#define | DYNAMIC_SYM_P(x) RB_DYNAMIC_SYM_P(x) |
#define | SYMBOL_P(x) RB_SYMBOL_P(x) |
#define | ID2SYM(x) RB_ID2SYM(x) |
#define | SYM2ID(x) RB_SYM2ID(x) |
#define | USE_FLONUM 1 |
#define | RB_FLONUM_P(x) ((((int)(SIGNED_VALUE)(x))&RUBY_FLONUM_MASK) == RUBY_FLONUM_FLAG) |
#define | FLONUM_P(x) RB_FLONUM_P(x) |
#define | USE_SYMBOL_AS_METHOD_NAME 1 |
#define | RUBY_Qfalse ((VALUE)RUBY_Qfalse) |
#define | RUBY_Qtrue ((VALUE)RUBY_Qtrue) |
#define | RUBY_Qnil ((VALUE)RUBY_Qnil) |
#define | RUBY_Qundef ((VALUE)RUBY_Qundef) /* undefined value for placeholder */ |
#define | Qfalse RUBY_Qfalse |
#define | Qtrue RUBY_Qtrue |
#define | Qnil RUBY_Qnil |
#define | Qundef RUBY_Qundef |
#define | IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
#define | FIXNUM_FLAG RUBY_FIXNUM_FLAG |
#define | FLONUM_MASK RUBY_FLONUM_MASK |
#define | FLONUM_FLAG RUBY_FLONUM_FLAG |
#define | SYMBOL_FLAG RUBY_SYMBOL_FLAG |
#define | RB_TEST(v) !(((VALUE)(v) & (VALUE)~RUBY_Qnil) == 0) |
#define | RB_NIL_P(v) !((VALUE)(v) != RUBY_Qnil) |
#define | RTEST(v) RB_TEST(v) |
#define | NIL_P(v) RB_NIL_P(v) |
#define | CLASS_OF(v) rb_class_of((VALUE)(v)) |
#define | T_NONE RUBY_T_NONE |
#define | T_NIL RUBY_T_NIL |
#define | T_OBJECT RUBY_T_OBJECT |
#define | T_CLASS RUBY_T_CLASS |
#define | T_ICLASS RUBY_T_ICLASS |
#define | T_MODULE RUBY_T_MODULE |
#define | T_FLOAT RUBY_T_FLOAT |
#define | T_STRING RUBY_T_STRING |
#define | T_REGEXP RUBY_T_REGEXP |
#define | T_ARRAY RUBY_T_ARRAY |
#define | T_HASH RUBY_T_HASH |
#define | T_STRUCT RUBY_T_STRUCT |
#define | T_BIGNUM RUBY_T_BIGNUM |
#define | T_FILE RUBY_T_FILE |
#define | T_FIXNUM RUBY_T_FIXNUM |
#define | T_TRUE RUBY_T_TRUE |
#define | T_FALSE RUBY_T_FALSE |
#define | T_DATA RUBY_T_DATA |
#define | T_MATCH RUBY_T_MATCH |
#define | T_SYMBOL RUBY_T_SYMBOL |
#define | T_RATIONAL RUBY_T_RATIONAL |
#define | T_COMPLEX RUBY_T_COMPLEX |
#define | T_IMEMO RUBY_T_IMEMO |
#define | T_UNDEF RUBY_T_UNDEF |
#define | T_NODE RUBY_T_NODE |
#define | T_ZOMBIE RUBY_T_ZOMBIE |
#define | T_MASK RUBY_T_MASK |
#define | RB_BUILTIN_TYPE(x) (int)(((struct RBasic*)(x))->flags & RUBY_T_MASK) |
#define | BUILTIN_TYPE(x) RB_BUILTIN_TYPE(x) |
#define | TYPE(x) rb_type((VALUE)(x)) |
#define | RB_FLOAT_TYPE_P(obj) |
#define | RB_TYPE_P(obj, type) |
#define | HAVE_RB_GC_GUARDED_PTR_VAL 1 |
#define | RB_GC_GUARD(v) (*rb_gc_guarded_ptr_val(&(v),(v))) |
#define | RB_UNUSED_VAR(x) x |
#define | Check_Type(v, t) rb_check_type((VALUE)(v),(t)) |
#define | StringValue(v) rb_string_value(&(v)) |
#define | StringValuePtr(v) rb_string_value_ptr(&(v)) |
#define | StringValueCStr(v) rb_string_value_cstr(&(v)) |
#define | SafeStringValue(v) |
#define | rb_check_safe_str(x) [<"rb_check_safe_str() is obsolete; use SafeStringValue() instead">] |
#define | Check_SafeStr(v) [<"Check_SafeStr() is obsolete; use SafeStringValue() instead">] |
#define | ExportStringValue(v) |
#define | FilePathValue(v) (RB_GC_GUARD(v) = rb_get_path(v)) |
#define | FilePathStringValue(v) ((v) = rb_get_path_no_checksafe(v)) |
#define | RUBY_SAFE_LEVEL_MAX 1 |
#define | RB_NUM2LONG(x) rb_num2long_inline(x) |
#define | NUM2LONG(x) RB_NUM2LONG(x) |
#define | RB_NUM2ULONG(x) rb_num2ulong_inline(x) |
#define | NUM2ULONG(x) RB_NUM2ULONG(x) |
#define | RB_NUM2INT(x) ((int)RB_NUM2LONG(x)) |
#define | RB_NUM2UINT(x) ((unsigned int)RB_NUM2ULONG(x)) |
#define | RB_FIX2INT(x) ((int)RB_FIX2LONG(x)) |
#define | RB_FIX2UINT(x) ((unsigned int)RB_FIX2ULONG(x)) |
#define | NUM2INT(x) RB_NUM2INT(x) |
#define | NUM2UINT(x) RB_NUM2UINT(x) |
#define | FIX2INT(x) RB_FIX2INT(x) |
#define | FIX2UINT(x) RB_FIX2UINT(x) |
#define | RB_FIX2SHORT(x) (rb_fix2short((VALUE)(x))) |
#define | FIX2SHORT(x) RB_FIX2SHORT(x) |
#define | RB_NUM2SHORT(x) rb_num2short_inline(x) |
#define | RB_NUM2USHORT(x) rb_num2ushort(x) |
#define | NUM2SHORT(x) RB_NUM2SHORT(x) |
#define | NUM2USHORT(x) RB_NUM2USHORT(x) |
#define | NUM2OFFT(x) NUM2LONG(x) |
#define | NUM2SIZET(x) NUM2ULONG(x) |
#define | NUM2SSIZET(x) NUM2LONG(x) |
#define | NUM2DBL(x) rb_num2dbl((VALUE)(x)) |
#define | RB_NEWOBJ(obj, type) type *(obj) = (type*)rb_newobj() |
#define | RB_NEWOBJ_OF(obj, type, klass, flags) type *(obj) = (type*)rb_newobj_of(klass, flags) |
#define | NEWOBJ(obj, type) RB_NEWOBJ(obj,type) |
#define | NEWOBJ_OF(obj, type, klass, flags) RB_NEWOBJ_OF(obj,type,klass,flags) /* core has special NEWOBJ_OF() in internal.h */ |
#define | OBJSETUP(obj, c, t) rb_obj_setup(obj, c, t) /* use NEWOBJ_OF instead of NEWOBJ()+OBJSETUP() */ |
#define | CLONESETUP(clone, obj) rb_clone_setup(clone,obj) |
#define | DUPSETUP(dup, obj) rb_dup_setup(dup,obj) |
#define | USE_RGENGC 1 |
#define | USE_RINCGC 1 |
#define | RGENGC_WB_PROTECTED_ARRAY 1 |
#define | RGENGC_WB_PROTECTED_HASH 1 |
#define | RGENGC_WB_PROTECTED_STRUCT 1 |
#define | RGENGC_WB_PROTECTED_STRING 1 |
#define | RGENGC_WB_PROTECTED_OBJECT 1 |
#define | RGENGC_WB_PROTECTED_REGEXP 1 |
#define | RGENGC_WB_PROTECTED_CLASS 1 |
#define | RGENGC_WB_PROTECTED_FLOAT 1 |
#define | RGENGC_WB_PROTECTED_COMPLEX 1 |
#define | RGENGC_WB_PROTECTED_RATIONAL 1 |
#define | RGENGC_WB_PROTECTED_BIGNUM 1 |
#define | RGENGC_WB_PROTECTED_NODE_CREF 1 |
#define | RUBY_FL_USER_N(n) RUBY_FL_USER##n = (1<<(RUBY_FL_USHIFT+n)) |
#define | RUBY_FL_USER19 (((VALUE)1)<<(RUBY_FL_USHIFT+19)) |
#define | RB_OBJ_WB_UNPROTECT_FOR(type, obj) |
#define | RBASIC_CLASS(obj) (RBASIC(obj)->klass) |
#define | ROBJECT_EMBED_LEN_MAX ROBJECT_EMBED_LEN_MAX |
#define | ROBJECT_EMBED ROBJECT_EMBED |
#define | ROBJECT_NUMIV(o) |
#define | ROBJECT_IVPTR(o) |
#define | ROBJECT_IV_INDEX_TBL(o) |
#define | RCLASS_SUPER(c) rb_class_get_superclass(c) |
#define | RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) |
#define | RMODULE_CONST_TBL(m) RCLASS_CONST_TBL(m) |
#define | RMODULE_M_TBL(m) RCLASS_M_TBL(m) |
#define | RMODULE_SUPER(m) RCLASS_SUPER(m) |
#define | RMODULE_IS_OVERLAID RMODULE_IS_OVERLAID |
#define | RMODULE_IS_REFINEMENT RMODULE_IS_REFINEMENT |
#define | RMODULE_INCLUDED_INTO_REFINEMENT RMODULE_INCLUDED_INTO_REFINEMENT |
#define | RFLOAT_VALUE(v) rb_float_value(v) |
#define | DBL2NUM(dbl) rb_float_new(dbl) |
#define | RUBY_ELTS_SHARED RUBY_ELTS_SHARED |
#define | ELTS_SHARED RUBY_ELTS_SHARED |
#define | RSTRING_NOEMBED RSTRING_NOEMBED |
#define | RSTRING_EMBED_LEN_MASK RSTRING_EMBED_LEN_MASK |
#define | RSTRING_EMBED_LEN_SHIFT RSTRING_EMBED_LEN_SHIFT |
#define | RSTRING_EMBED_LEN_MAX RSTRING_EMBED_LEN_MAX |
#define | RSTRING_FSTR RSTRING_FSTR |
#define | RSTRING_EMBED_LEN(str) |
#define | RSTRING_LEN(str) |
#define | RSTRING_PTR(str) |
#define | RSTRING_END(str) |
#define | RSTRING_LENINT(str) rb_long2int(RSTRING_LEN(str)) |
#define | RSTRING_GETMEM(str, ptrvar, lenvar) |
#define | RARRAY_EMBED_FLAG (VALUE)RARRAY_EMBED_FLAG |
#define | RARRAY_EMBED_LEN_MASK (VALUE)RARRAY_EMBED_LEN_MASK |
#define | RARRAY_EMBED_LEN_MAX RARRAY_EMBED_LEN_MAX |
#define | RARRAY_EMBED_LEN_SHIFT RARRAY_EMBED_LEN_SHIFT |
#define | RARRAY_EMBED_LEN(a) |
#define | RARRAY_LEN(a) rb_array_len(a) |
#define | RARRAY_LENINT(ary) rb_long2int(RARRAY_LEN(ary)) |
#define | RARRAY_CONST_PTR(a) rb_array_const_ptr(a) |
#define | RARRAY_PTR_USE_START(a) ((VALUE *)RARRAY_CONST_PTR(a)) |
#define | RARRAY_PTR_USE_END(a) /* */ |
#define | RARRAY_PTR_USE(ary, ptr_name, expr) |
#define | RARRAY_AREF(a, i) (RARRAY_CONST_PTR(a)[i]) |
#define | RARRAY_ASET(a, i, v) |
#define | RARRAY_PTR(a) ((VALUE *)RARRAY_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(ARRAY, a))) |
#define | RREGEXP_PTR(r) (RREGEXP(r)->ptr) |
#define | RREGEXP_SRC(r) (RREGEXP(r)->src) |
#define | RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src) |
#define | RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)->src) |
#define | RREGEXP_SRC_END(r) RSTRING_END(RREGEXP(r)->src) |
#define | RHASH_TBL(h) rb_hash_tbl(h) |
#define | RHASH_ITER_LEV(h) rb_hash_iter_lev(h) |
#define | RHASH_IFNONE(h) rb_hash_ifnone(h) |
#define | RHASH_SIZE(h) NUM2SIZET(rb_hash_size(h)) |
#define | RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |
#define | RHASH_SET_IFNONE(h, ifnone) rb_hash_set_ifnone((VALUE)h, ifnone) |
#define | RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) |
#define | RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) |
#define | HAVE_TYPE_RB_DATA_TYPE_T 1 |
#define | HAVE_RB_DATA_TYPE_T_FUNCTION 1 |
#define | HAVE_RB_DATA_TYPE_T_PARENT 1 |
#define | DATA_PTR(dta) (RDATA(dta)->data) |
#define | RTYPEDDATA_P(v) (RTYPEDDATA(v)->typed_flag == 1) |
#define | RTYPEDDATA_TYPE(v) (RTYPEDDATA(v)->type) |
#define | RTYPEDDATA_DATA(v) (RTYPEDDATA(v)->data) |
#define | RUBY_UNTYPED_DATA_WARNING 0 |
#define | Check_TypedStruct(v, t) rb_check_typeddata((VALUE)(v),(t)) |
#define | RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
#define | RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
#define | RUBY_TYPED_DEFAULT_FREE RUBY_DEFAULT_FREE |
#define | RUBY_TYPED_NEVER_FREE RUBY_NEVER_FREE |
#define | RUBY_TYPED_FREE_IMMEDIATELY 1 /* TYPE field */ |
#define | RUBY_TYPED_WB_PROTECTED RUBY_FL_WB_PROTECTED /* THIS FLAG DEPENDS ON Ruby version */ |
#define | RUBY_TYPED_PROMOTED1 RUBY_FL_PROMOTED1 /* THIS FLAG DEPENDS ON Ruby version */ |
#define | Data_Wrap_Struct(klass, mark, free, sval) rb_data_object_wrap((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
#define | Data_Make_Struct0(result, klass, type, size, mark, free, sval) |
#define | Data_Make_Struct(klass, type, mark, free, sval) |
#define | TypedData_Wrap_Struct(klass, data_type, sval) rb_data_typed_object_wrap((klass),(sval),(data_type)) |
#define | TypedData_Make_Struct0(result, klass, type, size, data_type, sval) |
#define | TypedData_Make_Struct(klass, type, data_type, sval) |
#define | Data_Get_Struct(obj, type, sval) ((sval) = (type*)rb_data_object_get(obj)) |
#define | TypedData_Get_Struct(obj, type, data_type, sval) ((sval) = (type*)rb_check_typeddata((obj), (data_type))) |
#define | RSTRUCT_LEN(st) NUM2LONG(rb_struct_size(st)) |
#define | RSTRUCT_PTR(st) rb_struct_ptr(st) |
#define | RSTRUCT_SET(st, idx, v) rb_struct_aset(st, INT2NUM(idx), (v)) |
#define | RSTRUCT_GET(st, idx) rb_struct_aref(st, INT2NUM(idx)) |
#define | RBIGNUM_SIGN(b) (rb_big_sign(b)) |
#define | RBIGNUM_POSITIVE_P(b) (RBIGNUM_SIGN(b)!=0) |
#define | RBIGNUM_NEGATIVE_P(b) (RBIGNUM_SIGN(b)==0) |
#define | R_CAST(st) (struct st*) |
#define | RBASIC(obj) (R_CAST(RBasic)(obj)) |
#define | ROBJECT(obj) (R_CAST(RObject)(obj)) |
#define | RCLASS(obj) (R_CAST(RClass)(obj)) |
#define | RMODULE(obj) RCLASS(obj) |
#define | RSTRING(obj) (R_CAST(RString)(obj)) |
#define | RREGEXP(obj) (R_CAST(RRegexp)(obj)) |
#define | RARRAY(obj) (R_CAST(RArray)(obj)) |
#define | RDATA(obj) (R_CAST(RData)(obj)) |
#define | RTYPEDDATA(obj) (R_CAST(RTypedData)(obj)) |
#define | RFILE(obj) (R_CAST(RFile)(obj)) |
#define | FL_SINGLETON ((VALUE)RUBY_FL_SINGLETON) |
#define | FL_WB_PROTECTED ((VALUE)RUBY_FL_WB_PROTECTED) |
#define | FL_PROMOTED0 ((VALUE)RUBY_FL_PROMOTED0) |
#define | FL_PROMOTED1 ((VALUE)RUBY_FL_PROMOTED1) |
#define | FL_FINALIZE ((VALUE)RUBY_FL_FINALIZE) |
#define | FL_TAINT ((VALUE)RUBY_FL_TAINT) |
#define | FL_UNTRUSTED ((VALUE)RUBY_FL_UNTRUSTED) |
#define | FL_EXIVAR ((VALUE)RUBY_FL_EXIVAR) |
#define | FL_FREEZE ((VALUE)RUBY_FL_FREEZE) |
#define | FL_USHIFT ((VALUE)RUBY_FL_USHIFT) |
#define | FL_USER0 ((VALUE)RUBY_FL_USER0) |
#define | FL_USER1 ((VALUE)RUBY_FL_USER1) |
#define | FL_USER2 ((VALUE)RUBY_FL_USER2) |
#define | FL_USER3 ((VALUE)RUBY_FL_USER3) |
#define | FL_USER4 ((VALUE)RUBY_FL_USER4) |
#define | FL_USER5 ((VALUE)RUBY_FL_USER5) |
#define | FL_USER6 ((VALUE)RUBY_FL_USER6) |
#define | FL_USER7 ((VALUE)RUBY_FL_USER7) |
#define | FL_USER8 ((VALUE)RUBY_FL_USER8) |
#define | FL_USER9 ((VALUE)RUBY_FL_USER9) |
#define | FL_USER10 ((VALUE)RUBY_FL_USER10) |
#define | FL_USER11 ((VALUE)RUBY_FL_USER11) |
#define | FL_USER12 ((VALUE)RUBY_FL_USER12) |
#define | FL_USER13 ((VALUE)RUBY_FL_USER13) |
#define | FL_USER14 ((VALUE)RUBY_FL_USER14) |
#define | FL_USER15 ((VALUE)RUBY_FL_USER15) |
#define | FL_USER16 ((VALUE)RUBY_FL_USER16) |
#define | FL_USER17 ((VALUE)RUBY_FL_USER17) |
#define | FL_USER18 ((VALUE)RUBY_FL_USER18) |
#define | FL_USER19 ((VALUE)RUBY_FL_USER19) |
#define | RB_SPECIAL_CONST_P(x) (RB_IMMEDIATE_P(x) || !RB_TEST(x)) |
#define | SPECIAL_CONST_P(x) RB_SPECIAL_CONST_P(x) |
#define | RB_FL_ABLE(x) (!RB_SPECIAL_CONST_P(x) && RB_BUILTIN_TYPE(x) != RUBY_T_NODE) |
#define | RB_FL_TEST_RAW(x, f) (RBASIC(x)->flags&(f)) |
#define | RB_FL_TEST(x, f) (RB_FL_ABLE(x)?RB_FL_TEST_RAW((x),(f)):0) |
#define | RB_FL_ANY_RAW(x, f) RB_FL_TEST_RAW((x),(f)) |
#define | RB_FL_ANY(x, f) RB_FL_TEST((x),(f)) |
#define | RB_FL_ALL_RAW(x, f) (RB_FL_TEST_RAW((x),(f)) == (f)) |
#define | RB_FL_ALL(x, f) (RB_FL_TEST((x),(f)) == (f)) |
#define | RB_FL_SET_RAW(x, f) (void)(RBASIC(x)->flags |= (f)) |
#define | RB_FL_SET(x, f) (RB_FL_ABLE(x) ? RB_FL_SET_RAW(x, f) : (void)0) |
#define | RB_FL_UNSET_RAW(x, f) (void)(RBASIC(x)->flags &= ~(VALUE)(f)) |
#define | RB_FL_UNSET(x, f) (RB_FL_ABLE(x) ? RB_FL_UNSET_RAW(x, f) : (void)0) |
#define | RB_FL_REVERSE_RAW(x, f) (void)(RBASIC(x)->flags ^= (f)) |
#define | RB_FL_REVERSE(x, f) (RB_FL_ABLE(x) ? RB_FL_REVERSE_RAW(x, f) : (void)0) |
#define | RB_OBJ_TAINTABLE(x) (RB_FL_ABLE(x) && RB_BUILTIN_TYPE(x) != RUBY_T_BIGNUM && RB_BUILTIN_TYPE(x) != RUBY_T_FLOAT) |
#define | RB_OBJ_TAINTED_RAW(x) RB_FL_TEST_RAW(x, RUBY_FL_TAINT) |
#define | RB_OBJ_TAINTED(x) (!!RB_FL_TEST((x), RUBY_FL_TAINT)) |
#define | RB_OBJ_TAINT_RAW(x) RB_FL_SET_RAW(x, RUBY_FL_TAINT) |
#define | RB_OBJ_TAINT(x) (RB_OBJ_TAINTABLE(x) ? RB_OBJ_TAINT_RAW(x) : (void)0) |
#define | RB_OBJ_UNTRUSTED(x) RB_OBJ_TAINTED(x) |
#define | RB_OBJ_UNTRUST(x) RB_OBJ_TAINT(x) |
#define | RB_OBJ_INFECT_RAW(x, s) RB_FL_SET_RAW(x, RB_OBJ_TAINTED_RAW(s)) |
#define | RB_OBJ_INFECT(x, s) |
#define | RB_OBJ_FROZEN_RAW(x) (RBASIC(x)->flags&RUBY_FL_FREEZE) |
#define | RB_OBJ_FROZEN(x) (!RB_FL_ABLE(x) || RB_OBJ_FROZEN_RAW(x)) |
#define | RB_OBJ_FREEZE_RAW(x) (void)(RBASIC(x)->flags |= RUBY_FL_FREEZE) |
#define | RB_OBJ_FREEZE(x) rb_obj_freeze_inline((VALUE)x) |
#define | FL_ABLE(x) RB_FL_ABLE(x) |
#define | FL_TEST_RAW(x, f) RB_FL_TEST_RAW(x,f) |
#define | FL_TEST(x, f) RB_FL_TEST(x,f) |
#define | FL_ANY_RAW(x, f) RB_FL_ANY_RAW(x,f) |
#define | FL_ANY(x, f) RB_FL_ANY(x,f) |
#define | FL_ALL_RAW(x, f) RB_FL_ALL_RAW(x,f) |
#define | FL_ALL(x, f) RB_FL_ALL(x,f) |
#define | FL_SET_RAW(x, f) RB_FL_SET_RAW(x,f) |
#define | FL_SET(x, f) RB_FL_SET(x,f) |
#define | FL_UNSET_RAW(x, f) RB_FL_UNSET_RAW(x,f) |
#define | FL_UNSET(x, f) RB_FL_UNSET(x,f) |
#define | FL_REVERSE_RAW(x, f) RB_FL_REVERSE_RAW(x,f) |
#define | FL_REVERSE(x, f) RB_FL_REVERSE(x,f) |
#define | OBJ_TAINTABLE(x) RB_OBJ_TAINTABLE(x) |
#define | OBJ_TAINTED_RAW(x) RB_OBJ_TAINTED_RAW(x) |
#define | OBJ_TAINTED(x) RB_OBJ_TAINTED(x) |
#define | OBJ_TAINT_RAW(x) RB_OBJ_TAINT_RAW(x) |
#define | OBJ_TAINT(x) RB_OBJ_TAINT(x) |
#define | OBJ_UNTRUSTED(x) RB_OBJ_UNTRUSTED(x) |
#define | OBJ_UNTRUST(x) RB_OBJ_UNTRUST(x) |
#define | OBJ_INFECT_RAW(x, s) RB_OBJ_INFECT_RAW(x,s) |
#define | OBJ_INFECT(x, s) RB_OBJ_INFECT(x,s) |
#define | OBJ_FROZEN_RAW(x) RB_OBJ_FROZEN_RAW(x) |
#define | OBJ_FROZEN(x) RB_OBJ_FROZEN(x) |
#define | OBJ_FREEZE_RAW(x) RB_OBJ_FREEZE_RAW(x) |
#define | OBJ_FREEZE(x) RB_OBJ_FREEZE(x) |
#define | RUBY_UNTYPED_DATA_FUNC(func) DEPRECATED(func) |
#define | RB_OBJ_PROMOTED_RAW(x) RB_FL_ALL_RAW(x, RUBY_FL_PROMOTED) |
#define | RB_OBJ_PROMOTED(x) (RB_SPECIAL_CONST_P(x) ? 0 : RB_OBJ_PROMOTED_RAW(x)) |
#define | RB_OBJ_WB_UNPROTECT(x) rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
#define | OBJ_PROMOTED_RAW(x) RB_OBJ_PROMOTED_RAW(x) |
#define | OBJ_PROMOTED(x) RB_OBJ_PROMOTED(x) |
#define | OBJ_WB_UNPROTECT(x) RB_OBJ_WB_UNPROTECT(x) |
#define | RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
#define | RB_OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
#define | USE_RGENGC_LOGGING_WB_UNPROTECT 0 |
#define | RUBY_INTEGER_UNIFICATION 1 |
#define | RB_INTEGER_TYPE_P(obj) rb_integer_type_p(obj) |
#define | RB_INT2NUM(x) rb_int2num_inline(x) |
#define | RB_UINT2NUM(x) rb_uint2num_inline(x) |
#define | INT2NUM(x) RB_INT2NUM(x) |
#define | UINT2NUM(x) RB_UINT2NUM(x) |
#define | RB_LONG2NUM(x) rb_long2num_inline(x) |
#define | RB_ULONG2NUM(x) rb_ulong2num_inline(x) |
#define | RB_NUM2CHR(x) rb_num2char_inline(x) |
#define | RB_CHR2FIX(x) RB_INT2FIX((long)((x)&0xff)) |
#define | LONG2NUM(x) RB_LONG2NUM(x) |
#define | ULONG2NUM(x) RB_ULONG2NUM(x) |
#define | NUM2CHR(x) RB_NUM2CHR(x) |
#define | CHR2FIX(x) RB_CHR2FIX(x) |
#define | RB_ST2FIX(h) RB_LONG2FIX((long)(h)) |
#define | ST2FIX(h) RB_ST2FIX(h) |
#define | RB_ALLOC_N(type, n) ((type*)ruby_xmalloc2((size_t)(n),sizeof(type))) |
#define | RB_ALLOC(type) ((type*)ruby_xmalloc(sizeof(type))) |
#define | RB_ZALLOC_N(type, n) ((type*)ruby_xcalloc((size_t)(n),sizeof(type))) |
#define | RB_ZALLOC(type) (RB_ZALLOC_N(type,1)) |
#define | RB_REALLOC_N(var, type, n) ((var)=(type*)ruby_xrealloc2((char*)(var),(size_t)(n),sizeof(type))) |
#define | ALLOC_N(type, n) RB_ALLOC_N(type,n) |
#define | ALLOC(type) RB_ALLOC(type) |
#define | ZALLOC_N(type, n) RB_ZALLOC_N(type,n) |
#define | ZALLOC(type) RB_ZALLOC(type) |
#define | REALLOC_N(var, type, n) RB_REALLOC_N(var,type,n) |
#define | ALLOCA_N(type, n) ((type*)alloca(sizeof(type)*(n))) |
#define | RUBY_ALLOCV_LIMIT 1024 |
#define | RB_ALLOCV(v, n) |
#define | RB_ALLOCV_N(type, v, n) |
#define | RB_ALLOCV_END(v) rb_free_tmp_buffer(&(v)) |
#define | ALLOCV(v, n) RB_ALLOCV(v, n) |
#define | ALLOCV_N(type, v, n) RB_ALLOCV_N(type, v, n) |
#define | ALLOCV_END(v) RB_ALLOCV_END(v) |
#define | MEMZERO(p, type, n) memset((p), 0, sizeof(type)*(size_t)(n)) |
#define | MEMCPY(p1, p2, type, n) memcpy((p1), (p2), sizeof(type)*(size_t)(n)) |
#define | MEMMOVE(p1, p2, type, n) memmove((p1), (p2), sizeof(type)*(size_t)(n)) |
#define | MEMCMP(p1, p2, type, n) memcmp((p1), (p2), sizeof(type)*(size_t)(n)) |
#define | RUBY_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func)) |
#define | RUBY_CONST_ID_CACHE(result, str) |
#define | RUBY_CONST_ID(var, str) do RUBY_CONST_ID_CACHE((var) =, (str)) while (0) |
#define | CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) |
#define | CONST_ID(var, str) RUBY_CONST_ID(var, str) |
#define | rb_intern_const(str) rb_intern2((str), (long)strlen(str)) |
#define | rb_funcall2 rb_funcallv |
#define | rb_funcall3 rb_funcallv_public |
#define | HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1 |
#define | ruby_verbose (*rb_ruby_verbose_ptr()) |
#define | ruby_debug (*rb_ruby_debug_ptr()) |
#define | RB_IO_WAIT_READABLE RB_IO_WAIT_READABLE |
#define | RB_IO_WAIT_WRITABLE RB_IO_WAIT_WRITABLE |
#define | RUBY_BLOCK_CALL_FUNC_TAKES_BLOCKARG 1 |
#define | RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg) VALUE yielded_arg, VALUE callback_arg, int argc, const VALUE *argv, VALUE blockarg |
#define | rb_type_p(obj, type) (rb_type(obj) == (type)) |
#define | FIX_CONST_VALUE_PTR(x) (x) |
#define | RUBY_VM 1 /* YARV */ |
#define | HAVE_NATIVETHREAD |
#define | RUBY_EVENT_NONE 0x0000 |
#define | RUBY_EVENT_LINE 0x0001 |
#define | RUBY_EVENT_CLASS 0x0002 |
#define | RUBY_EVENT_END 0x0004 |
#define | RUBY_EVENT_CALL 0x0008 |
#define | RUBY_EVENT_RETURN 0x0010 |
#define | RUBY_EVENT_C_CALL 0x0020 |
#define | RUBY_EVENT_C_RETURN 0x0040 |
#define | RUBY_EVENT_RAISE 0x0080 |
#define | RUBY_EVENT_ALL 0x00ff |
#define | RUBY_EVENT_B_CALL 0x0100 |
#define | RUBY_EVENT_B_RETURN 0x0200 |
#define | RUBY_EVENT_THREAD_BEGIN 0x0400 |
#define | RUBY_EVENT_THREAD_END 0x0800 |
#define | RUBY_EVENT_FIBER_SWITCH 0x1000 |
#define | RUBY_EVENT_TRACEPOINT_ALL 0xffff |
#define | RUBY_EVENT_SPECIFIED_LINE 0x010000 |
#define | RUBY_EVENT_COVERAGE 0x020000 |
#define | RUBY_INTERNAL_EVENT_SWITCH 0x040000 |
#define | RUBY_EVENT_SWITCH 0x040000 /* obsolete name. this macro is for compatibility */ |
#define | RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
#define | RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
#define | RUBY_INTERNAL_EVENT_GC_START 0x400000 |
#define | RUBY_INTERNAL_EVENT_GC_END_MARK 0x800000 |
#define | RUBY_INTERNAL_EVENT_GC_END_SWEEP 0x1000000 |
#define | RUBY_INTERNAL_EVENT_GC_ENTER 0x2000000 |
#define | RUBY_INTERNAL_EVENT_GC_EXIT 0x4000000 |
#define | RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x7f00000 |
#define | RUBY_INTERNAL_EVENT_MASK 0xfffe0000 |
#define | RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 |
#define | ISASCII(c) rb_isascii(c) |
#define | ISPRINT(c) rb_isprint(c) |
#define | ISGRAPH(c) rb_isgraph(c) |
#define | ISSPACE(c) rb_isspace(c) |
#define | ISUPPER(c) rb_isupper(c) |
#define | ISLOWER(c) rb_islower(c) |
#define | ISALNUM(c) rb_isalnum(c) |
#define | ISALPHA(c) rb_isalpha(c) |
#define | ISDIGIT(c) rb_isdigit(c) |
#define | ISXDIGIT(c) rb_isxdigit(c) |
#define | TOUPPER(c) rb_toupper(c) |
#define | TOLOWER(c) rb_tolower(c) |
#define | STRCASECMP(s1, s2) (st_locale_insensitive_strcasecmp((s1), (s2))) |
#define | STRNCASECMP(s1, s2, n) (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
#define | STRTOUL(str, endptr, base) (ruby_strtoul((str), (endptr), (base))) |
#define | InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} |
#define | RUBY_INIT_STACK |
A convenience macro to call ruby_init_stack(). More... | |
#define | Init_stack(addr) ruby_init_stack(addr) |
Typedefs | |
typedef unsigned long | VALUE |
typedef unsigned long | ID |
typedef char | ruby_check_sizeof_int[SIZEOF_INT==sizeof(int) ? 1 :-1] |
typedef char | ruby_check_sizeof_long[SIZEOF_LONG==sizeof(long) ? 1 :-1] |
typedef char | ruby_check_sizeof_voidp[SIZEOF_VOIDP==sizeof(void *) ? 1 :-1] |
typedef struct rb_data_type_struct | rb_data_type_t |
typedef void(* | RUBY_DATA_FUNC) (void *) |
typedef int | ruby_glob_func(const char *, VALUE, void *) |
typedef VALUE | rb_gvar_getter_t(ID id, void *data, struct rb_global_variable *gvar) |
typedef void | rb_gvar_setter_t(VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
typedef void | rb_gvar_marker_t(VALUE *var) |
typedef VALUE | rb_block_call_func(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg)) |
typedef VALUE(* | rb_block_call_func_t) (ANYARGS) |
typedef uint32_t | rb_event_flag_t |
typedef void(* | rb_event_hook_func_t) (rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass) |
#define ALLOC | ( | type | ) | RB_ALLOC(type) |
Definition at line 1588 of file ruby.h.
Referenced by rb_alias_variable(), rb_class_subclass_add(), rb_f_trace_var(), rb_gc_register_address(), rb_global_entry(), rb_id_table_create(), rb_marshal_define_compat(), rb_set_end_proc(), and ruby_vm_at_exit().
#define ALLOC_N | ( | type, | |
n | |||
) | RB_ALLOC_N(type,n) |
Definition at line 1587 of file ruby.h.
Referenced by EVENTSINK_Constructor(), ole_variant2val(), rb_iseq_build_from_ary(), rb_obj_copy_ivar(), rb_w32_home_dir(), and reg_get_val().
#define ALLOCA_N | ( | type, | |
n | |||
) | ((type*)alloca(sizeof(type)*(n))) |
Definition at line 1593 of file ruby.h.
Referenced by if(), rb_funcall(), rb_str_buf_cat_ascii(), and rb_str_concat().
#define ALLOCV | ( | v, | |
n | |||
) | RB_ALLOCV(v, n) |
Definition at line 1656 of file ruby.h.
Referenced by rb_str_to_dbl(), and rb_w32_reparse_symlink_p().
#define ALLOCV_END | ( | v | ) | RB_ALLOCV_END(v) |
Definition at line 1658 of file ruby.h.
Referenced by rb_freopen(), rb_str_to_dbl(), rb_w32_reparse_symlink_p(), and ruby_setenv().
#define ALLOCV_N | ( | type, | |
v, | |||
n | |||
) | RB_ALLOCV_N(type, v, n) |
Definition at line 1657 of file ruby.h.
Referenced by date_zone_to_diff(), rb_execarg_init(), rb_freopen(), and ruby_setenv().
#define BUILTIN_TYPE | ( | x | ) | RB_BUILTIN_TYPE(x) |
Definition at line 518 of file ruby.h.
Referenced by rb_class_real(), rb_enc_get_index(), rb_frozen_class_p(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_make_metaclass(), rb_method_name_error(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_obj_dig(), rb_obj_remove_instance_variable(), and ruby_th_dtrace_setup().
#define CHAR_BIT 8 |
Definition at line 196 of file ruby.h.
Referenced by rb_absint_numwords(), rb_big_bit_length(), rb_fix2str(), rb_vm_ifunc_new(), signbit(), and st_hash().
#define Check_SafeStr | ( | v | ) | [<"Check_SafeStr() is obsolete; use SafeStringValue() instead">] |
#define Check_Type | ( | v, | |
t | |||
) | rb_check_type((VALUE)(v),(t)) |
Definition at line 562 of file ruby.h.
Referenced by ole_val_ary2variant_ary(), rb_autoload_str(), rb_class_new(), rb_class_new_instance(), rb_data_object_wrap(), rb_data_typed_object_wrap(), rb_define_alloc_func(), rb_frozen_class_p(), rb_fstring(), rb_get_alloc_func(), rb_io_make_open_file(), rb_iseq_make_compile_option(), rb_keyword_error_new(), rb_mod_include_p(), rb_obj_alloc(), rb_str_quote_unprintable(), and rsock_revlookup_flag().
#define Check_TypedStruct | ( | v, | |
t | |||
) | rb_check_typeddata((VALUE)(v),(t)) |
Definition at line 1131 of file ruby.h.
Referenced by rb_mutex_allow_trap().
#define CHR2FIX | ( | x | ) | RB_CHR2FIX(x) |
#define CLASS_OF | ( | v | ) | rb_class_of((VALUE)(v)) |
Definition at line 453 of file ruby.h.
Referenced by Init_Binding(), Init_VM(), rb_any_to_s(), rb_check_funcall_default(), rb_check_funcall_with_hook(), rb_error_frozen_object(), rb_hash_default_value(), rb_obj_class(), rb_obj_classname(), rb_obj_is_kind_of(), rb_obj_method_arity(), rb_obj_method_location(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_p(), rb_threadptr_error_print(), and rb_vm_bugreport().
#define CONST_ID | ( | var, | |
str | |||
) | RUBY_CONST_ID(var, str) |
Definition at line 1743 of file ruby.h.
Referenced by rb_class_inherited(), rb_get_path_check_to_string(), rb_id_encoding(), rb_iseq_parameters(), and rb_refinement_module_get_refined_class().
#define CONST_ID_CACHE | ( | result, | |
str | |||
) | RUBY_CONST_ID_CACHE(result, str) |
#define Data_Get_Struct | ( | obj, | |
type, | |||
sval | |||
) | ((sval) = (type*)rb_data_object_get(obj)) |
#define Data_Make_Struct | ( | klass, | |
type, | |||
mark, | |||
free, | |||
sval | |||
) |
#define DATA_PTR | ( | dta | ) | (RDATA(dta)->data) |
Definition at line 1106 of file ruby.h.
Referenced by ole_vstr2wc(), rb_dir_getwd_ospath(), RUBY_ALIAS_FUNCTION(), and ruby_getcwd().
#define Data_Wrap_Struct | ( | klass, | |
mark, | |||
free, | |||
sval | |||
) | rb_data_object_wrap((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
Definition at line 1142 of file ruby.h.
Referenced by Init_md5(), Init_rmd160(), Init_sha1(), rb_dir_getwd_ospath(), rb_iseq_build_from_ary(), and ruby_getcwd().
#define DBL2NUM | ( | dbl | ) | rb_float_new(dbl) |
Definition at line 934 of file ruby.h.
Referenced by exp1(), rb_big_fdiv(), rb_big_mul(), rb_float_abs(), rb_float_uminus(), and rb_int_fdiv().
#define DYNAMIC_SYM_P | ( | x | ) | RB_DYNAMIC_SYM_P(x) |
Definition at line 381 of file ruby.h.
Referenced by rb_check_id(), rb_check_symbol(), rb_sym2id(), and rb_sym2str().
#define ELTS_SHARED RUBY_ELTS_SHARED |
#define ExportStringValue | ( | v | ) |
#define FilePathStringValue | ( | v | ) | ((v) = rb_get_path_no_checksafe(v)) |
Definition at line 597 of file ruby.h.
Referenced by rb_file_dirname().
#define FilePathValue | ( | v | ) | (RB_GC_GUARD(v) = rb_get_path(v)) |
Definition at line 594 of file ruby.h.
Referenced by rb_file_open_str(), and rb_readlink().
#define FIX2INT | ( | x | ) | RB_FIX2INT(x) |
Definition at line 686 of file ruby.h.
Referenced by rb_f_kill(), rb_fix2int(), rb_float_gt(), rb_io_ungetbyte(), rsock_io_socket_addrinfo(), and ruby_executable_node().
#define FIX2LONG | ( | x | ) | RB_FIX2LONG(x) |
Definition at line 363 of file ruby.h.
Referenced by ossl_time_split(), rb_absint_singlebit_p(), rb_absint_size(), rb_ary_aref(), rb_big_divmod(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_remainder(), rb_big_rshift(), rb_cmpint(), rb_fix2short(), rb_fix2str(), rb_float_pow(), rb_get_values_at(), rb_int_pred(), rb_int_succ(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_integer_pack(), rb_iseq_build_from_ary(), rb_num2fix(), rb_num2long(), rb_num_to_uint(), and rb_str_concat().
#define FIX2SHORT | ( | x | ) | RB_FIX2SHORT(x) |
#define FIX2UINT | ( | x | ) | RB_FIX2UINT(x) |
Definition at line 687 of file ruby.h.
Referenced by rb_io_ungetc().
#define FIX2ULONG | ( | x | ) | RB_FIX2ULONG(x) |
Definition at line 364 of file ruby.h.
Referenced by rb_fix2ushort().
#define FIXABLE | ( | f | ) | RB_FIXABLE(f) |
Definition at line 368 of file ruby.h.
Referenced by rb_int2inum(), and rb_num2fix().
#define FIXNUM_FLAG RUBY_FIXNUM_FLAG |
Definition at line 441 of file ruby.h.
Referenced by rb_obj_id().
#define FIXNUM_MAX RUBY_FIXNUM_MAX |
Definition at line 228 of file ruby.h.
Referenced by Init_limits(), and rb_integer_float_cmp().
#define FIXNUM_MIN RUBY_FIXNUM_MIN |
Definition at line 229 of file ruby.h.
Referenced by Init_limits(), and rb_integer_float_cmp().
#define FIXNUM_P | ( | f | ) | RB_FIXNUM_P(f) |
Definition at line 365 of file ruby.h.
Referenced by int_remainder(), ossl_time_split(), rb_absint_singlebit_p(), rb_absint_size(), rb_ary_aref(), rb_big_cmp(), rb_big_divmod(), rb_big_eq(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_remainder(), rb_big_rshift(), rb_check_to_integer(), rb_cmpint(), rb_fix2short(), rb_fix2ushort(), rb_float_gt(), rb_get_values_at(), rb_int2str(), rb_int_abs(), rb_int_and(), rb_int_cmp(), rb_int_div(), rb_int_divmod(), rb_int_equal(), rb_int_fdiv_double(), rb_int_ge(), rb_int_gt(), rb_int_idiv(), rb_int_lshift(), rb_int_minus(), rb_int_modulo(), rb_int_mul(), rb_int_plus(), rb_int_pow(), rb_int_pred(), rb_int_succ(), rb_int_uminus(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_integer_pack(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_build_from_ary(), rb_num2dbl(), rb_num2fix(), rb_num2long(), rb_num_to_dbl(), rb_num_to_uint(), rb_str_concat(), ruby_executable_node(), and ruby_num_interval_step_size().
#define FL_EXIVAR ((VALUE)RUBY_FL_EXIVAR) |
Definition at line 1215 of file ruby.h.
Referenced by rb_copy_generic_ivar(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), and rb_obj_remove_instance_variable().
#define FL_FINALIZE ((VALUE)RUBY_FL_FINALIZE) |
Definition at line 1212 of file ruby.h.
Referenced by rb_gc_copy_finalizer(), and rb_undefine_finalizer().
#define FL_FREEZE ((VALUE)RUBY_FL_FREEZE) |
Definition at line 1216 of file ruby.h.
Referenced by rb_freeze_singleton_class().
#define FL_PROMOTED0 ((VALUE)RUBY_FL_PROMOTED0) |
#define FL_PROMOTED1 ((VALUE)RUBY_FL_PROMOTED1) |
#define FL_SINGLETON ((VALUE)RUBY_FL_SINGLETON) |
Definition at line 1208 of file ruby.h.
Referenced by rb_check_inheritable(), rb_class_real(), rb_freeze_singleton_class(), rb_frozen_class_p(), rb_method_name_error(), rb_obj_singleton_methods(), rb_singleton_class_attached(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), and ruby_th_dtrace_setup().
#define FL_TAINT ((VALUE)RUBY_FL_TAINT) |
Definition at line 1213 of file ruby.h.
Referenced by rb_check_copyable(), and rb_obj_untaint().
#define FL_UNTRUSTED ((VALUE)RUBY_FL_UNTRUSTED) |
#define FL_USER19 ((VALUE)RUBY_FL_USER19) |
#define FL_USHIFT ((VALUE)RUBY_FL_USHIFT) |
Definition at line 1218 of file ruby.h.
Referenced by rb_imemo_new().
#define FL_WB_PROTECTED ((VALUE)RUBY_FL_WB_PROTECTED) |
Definition at line 1209 of file ruby.h.
Referenced by rb_float_new_in_heap(), rb_wb_protected_newobj_of(), and rb_wb_unprotected_newobj_of().
#define FLONUM_FLAG RUBY_FLONUM_FLAG |
#define FLONUM_MASK RUBY_FLONUM_MASK |
#define FLONUM_P | ( | x | ) | RB_FLONUM_P(x) |
Definition at line 399 of file ruby.h.
Referenced by rb_num2dbl(), and rb_obj_id().
#define ID2SYM | ( | x | ) | RB_ID2SYM(x) |
Definition at line 383 of file ruby.h.
Referenced by rb_clock_getres(), rb_const_remove(), rb_cvar_get(), rb_get_kwargs(), rb_iseq_build_from_ary(), rb_iseq_parameters(), rb_mod_remove_cvar(), rb_name_error(), rb_print_inaccessible(), rb_print_undef(), rb_struct_getmember(), rb_tracearg_event(), and rb_vm_add_root_module().
#define IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
#define IMMEDIATE_P | ( | x | ) | RB_IMMEDIATE_P(x) |
#define InitVM | ( | ext | ) | {void InitVM_##ext(void);InitVM_##ext();} |
Definition at line 2164 of file ruby.h.
Referenced by Init_console(), Init_Math(), Init_Object(), Init_pathname(), Init_Random(), and Init_resolv().
#define INT2FIX | ( | i | ) | RB_INT2FIX(i) |
Definition at line 232 of file ruby.h.
Referenced by Init_fcntl(), ossl_time_split(), rb_ary_cmp(), rb_big_comp(), rb_big_pow(), rb_cmpint(), rb_cstr_to_inum(), rb_dbl_cmp(), rb_flo_is_infinite_p(), rb_hash_size(), rb_int_pred(), rb_int_succ(), rb_integer_float_cmp(), rb_iseq_new(), rb_iseq_new_main(), rb_iseq_new_top(), rb_str_times(), rb_thread_sleep(), rb_threadptr_signal_raise(), rsock_ipaddr(), and rsock_sock_listen().
#define INT2NUM | ( | x | ) | RB_INT2NUM(x) |
Definition at line 1538 of file ruby.h.
Referenced by asn1time_to_time(), generic_to_value(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_openssl(), ossl_generate_cb_2(), rb_exit(), and rb_f_abort().
#define ISASCII | ( | c | ) | rb_isascii(c) |
Definition at line 2142 of file ruby.h.
Referenced by rb_enc_ascget(), and rb_str_include_range_p().
#define ISDIGIT | ( | c | ) | rb_isdigit(c) |
Definition at line 2150 of file ruby.h.
Referenced by rb_cstr_to_dbl(), rb_scan_args(), rb_str_include_range_p(), ruby_strtod(), and VpAlloc().
#define ISPRINT | ( | c | ) | rb_isprint(c) |
Definition at line 2143 of file ruby.h.
Referenced by rsock_inspect_sockaddr().
#define ISSPACE | ( | c | ) | rb_isspace(c) |
Definition at line 2145 of file ruby.h.
Referenced by rb_cstr_to_dbl(), rb_int_parse_cstr(), rsock_inspect_sockaddr(), ruby_each_words(), ruby_strtoul(), and VpAlloc().
#define LONG2FIX | ( | i | ) | RB_INT2FIX(i) |
Definition at line 234 of file ruby.h.
Referenced by rb_big_bit_length(), rb_big_divrem_normal(), rb_dbl_hash(), rb_int2inum(), rb_num2fix(), rb_rational_cmp(), rb_reg_match2(), rb_struct_size(), and rb_uint2inum().
#define LONG2NUM | ( | x | ) | RB_LONG2NUM(x) |
Definition at line 1573 of file ruby.h.
Referenced by generic_to_value(), rb_int_pred(), rb_int_succ(), rb_obj_id(), and rb_str_length().
#define LONG_MAX 2147483647 |
Definition at line 189 of file ruby.h.
Referenced by Init_limits(), ossl_bin2hex(), rb_econv_append(), rb_integer_float_eq(), rb_str_modify_expand(), and rb_str_plus().
#define LONG_MIN (-LONG_MAX-1) |
Definition at line 193 of file ruby.h.
Referenced by Init_limits(), and rb_integer_float_eq().
#define MEMCMP | ( | p1, | |
p2, | |||
type, | |||
n | |||
) | memcmp((p1), (p2), sizeof(type)*(size_t)(n)) |
Definition at line 1663 of file ruby.h.
Referenced by rb_big_eql().
#define MEMCPY | ( | p1, | |
p2, | |||
type, | |||
n | |||
) | memcpy((p1), (p2), sizeof(type)*(size_t)(n)) |
Definition at line 1661 of file ruby.h.
Referenced by rb_econv_set_replacement(), rb_execarg_init(), rb_obj_copy_ivar(), and rb_str_to_dbl().
#define MEMMOVE | ( | p1, | |
p2, | |||
type, | |||
n | |||
) | memmove((p1), (p2), sizeof(type)*(size_t)(n)) |
Definition at line 1662 of file ruby.h.
Referenced by rb_ary_delete_at().
#define MEMZERO | ( | p, | |
type, | |||
n | |||
) | memset((p), 0, sizeof(type)*(size_t)(n)) |
Definition at line 1660 of file ruby.h.
Referenced by Init_BareVM(), rb_execarg_run_options(), rb_id_table_clear(), and rsock_addrinfo().
#define NEGFIXABLE | ( | f | ) | RB_NEGFIXABLE(f) |
#define NEWOBJ_OF | ( | obj, | |
type, | |||
klass, | |||
flags | |||
) | RB_NEWOBJ_OF(obj,type,klass,flags) /* core has special NEWOBJ_OF() in internal.h */ |
Definition at line 754 of file ruby.h.
Referenced by rb_float_new_in_heap(), and rsock_sockopt_new().
#define NIL_P | ( | v | ) | RB_NIL_P(v) |
Definition at line 451 of file ruby.h.
Referenced by goruby_run_node(), num_to_asn1integer(), ossl_pem_passwd_value(), ossl_verify_cb_call(), rb_alias(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_to_ary(), rb_check_backtrace(), rb_check_id(), rb_cmpint(), rb_compile_warn(), rb_const_set(), rb_cstr_to_inum(), rb_econv_append(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_enc_set_default_external(), rb_enc_warn(), rb_error_frozen_object(), rb_exc_fatal(), rb_exc_raise(), rb_execarg_setenv(), rb_f_abort(), rb_f_eval(), rb_f_require_relative(), rb_f_trace_var(), rb_f_untrace_var(), rb_fiber_start(), rb_file_expand_path_internal(), rb_funcall_with_block(), rb_get_kwargs(), rb_Hash(), rb_io_extract_encoding_option(), rb_io_print(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_pathobj_new(), rb_mutex_sleep(), rb_num2fix(), rb_num2long(), rb_num_get_rounding_option(), rb_obj_dig(), rb_obj_singleton_method(), rb_parser_printf(), rb_profile_frame_full_label(), rb_reg_regsub(), rb_scan_args(), rb_set_errinfo(), rb_str_include_range_p(), rb_str_setter(), rb_str_to_inum(), rb_String(), rb_syntax_error_append(), rb_threadptr_error_print(), rb_undef(), rb_w32_conv_from_wstr(), rb_warn(), rb_yield_splat(), rsock_bsock_send(), rsock_syserr_fail_raddrinfo_or_sockaddr(), and ruby_th_dtrace_setup().
#define NUM2CHR | ( | x | ) | RB_NUM2CHR(x) |
#define NUM2DBL | ( | x | ) | rb_num2dbl((VALUE)(x)) |
Definition at line 743 of file ruby.h.
Referenced by ruby_float_step(), and value_to_generic().
#define NUM2INT | ( | x | ) | RB_NUM2INT(x) |
Definition at line 684 of file ruby.h.
Referenced by BIGNUM_3c(), generic_to_value(), ossl_time_split(), rb_f_eval(), rb_float_cmp(), rb_iseqw_line_trace_specify(), rsock_bsock_send(), rsock_io_socket_addrinfo(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_sock_listen(), and value_to_generic().
#define NUM2LONG | ( | x | ) | RB_NUM2LONG(x) |
Definition at line 648 of file ruby.h.
Referenced by rb_ary_aref(), rb_ary_at(), rb_get_values_at(), rb_range_beg_len(), and value_to_generic().
#define NUM2PIDT | ( | v | ) | NUM2LONG(v) |
Definition at line 326 of file ruby.h.
Referenced by rb_execarg_addopt().
#define NUM2SHORT | ( | x | ) | RB_NUM2SHORT(x) |
#define NUM2UINT | ( | x | ) | RB_NUM2UINT(x) |
Definition at line 685 of file ruby.h.
Referenced by value_to_generic().
#define NUM2ULONG | ( | x | ) | RB_NUM2ULONG(x) |
Definition at line 658 of file ruby.h.
Referenced by value_to_generic().
#define NUM2USHORT | ( | x | ) | RB_NUM2USHORT(x) |
#define OBJ_PROMOTED | ( | x | ) | RB_OBJ_PROMOTED(x) |
Definition at line 1423 of file ruby.h.
Referenced by rb_obj_rgengc_promoted_p().
#define OBJ_PROMOTED_RAW | ( | x | ) | RB_OBJ_PROMOTED_RAW(x) |
#define OBJ_WB_UNPROTECT | ( | x | ) | RB_OBJ_WB_UNPROTECT(x) |
Definition at line 1424 of file ruby.h.
Referenced by rb_hash_tbl().
#define OBJSETUP | ( | obj, | |
c, | |||
t | |||
) | rb_obj_setup(obj, c, t) /* use NEWOBJ_OF instead of NEWOBJ()+OBJSETUP() */ |
#define POSFIXABLE | ( | f | ) | RB_POSFIXABLE(f) |
Definition at line 366 of file ruby.h.
Referenced by rb_uint2inum().
#define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
#define PRIdSIZE PRI_SIZE_PREFIX"d" |
#define PRIdVALUE PRI_VALUE_PREFIX"d" |
Definition at line 130 of file ruby.h.
Referenced by rb_insn_operand_intern(), VpComp(), and VpPower().
#define PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i" |
#define PRIiSIZE PRI_SIZE_PREFIX"i" |
#define PRIoPTRDIFF PRI_PTRDIFF_PREFIX"o" |
#define PRIoSIZE PRI_SIZE_PREFIX"o" |
#define PRIoVALUE PRI_VALUE_PREFIX"o" |
#define PRIsVALUE PRI_VALUE_PREFIX"i" RUBY_PRI_VALUE_MARK |
Definition at line 135 of file ruby.h.
Referenced by ossl_evp_get_cipherbyname(), ossl_evp_get_digestbyname(), rb_any_to_s(), rb_autoload_str(), rb_block_to_s(), rb_check_copyable(), rb_check_id(), rb_check_inheritable(), rb_const_set(), rb_const_warn_if_deprecated(), rb_cvar_get(), rb_cvar_set(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_error_frozen_object(), rb_f_untrace_var(), rb_file_expand_path_internal(), rb_gvar_readonly_setter(), rb_gvar_undef_getter(), rb_id_attrset(), rb_insecure_operation(), rb_invalid_str(), rb_ivar_get(), rb_notimplement(), rb_num_get_rounding_option(), rb_path_to_class(), rb_profile_frame_full_label(), rb_secure(), rb_str_setter(), rb_thread_current_status(), rsock_syserr_fail_host_port(), rsock_syserr_fail_path(), rsock_syserr_fail_raddrinfo(), and VpAlloc().
#define PRIuPTRDIFF PRI_PTRDIFF_PREFIX"u" |
#define PRIuSIZE PRI_SIZE_PREFIX"u" |
Definition at line 177 of file ruby.h.
Referenced by rb_iseq_disasm_insn(), ruby_malloc_size_overflow(), ruby_setenv(), and VpPower().
#define PRIuVALUE PRI_VALUE_PREFIX"u" |
Definition at line 132 of file ruby.h.
Referenced by rb_insn_operand_intern().
#define PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
#define PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X" |
#define PRIxSIZE PRI_SIZE_PREFIX"x" |
#define PRIXSIZE PRI_SIZE_PREFIX"X" |
#define PRIxVALUE PRI_VALUE_PREFIX"x" |
Definition at line 133 of file ruby.h.
Referenced by rb_vmdebug_env_dump_raw(), and rb_vmdebug_stack_dump_raw().
#define PRIXVALUE PRI_VALUE_PREFIX"X" |
#define Qfalse RUBY_Qfalse |
Definition at line 436 of file ruby.h.
Referenced by BIGNUM_3c(), Init_fiddle(), Init_openssl(), ossl_pem_passwd_cb(), ossl_verify_cb_call(), rb_ary_aref(), rb_ary_includes(), rb_ary_shared_with_p(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_cvar_defined(), rb_execarg_run_options(), rb_fiber_alive_p(), rb_fiber_start(), rb_flo_is_finite_p(), rb_float_eql(), rb_float_equal(), rb_float_gt(), rb_gc_enable(), rb_gvar_defined(), rb_hash_compare_by_id_p(), rb_hash_has_key(), rb_integer_float_eq(), rb_io_eof(), rb_iseqw_line_trace_specify(), rb_ivar_defined(), rb_mod_include_p(), rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_rgengc_promoted_p(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_parser_set_context(), rb_proc_lambda_p(), rb_range_beg_len(), rb_str_eql(), rb_str_equal(), rb_str_include_range_p(), rb_sym_to_proc(), rb_thread_shield_wait(), rsock_revlookup_flag(), ruby_executable_node(), and ruby_set_inplace_mode().
#define Qnil RUBY_Qnil |
Definition at line 438 of file ruby.h.
Referenced by asn1time_to_time(), date_zone_to_diff(), generic_to_value(), ole_type_from_itypeinfo(), ole_typedesc2val(), ole_typelib_from_itypeinfo(), ole_val2variant_ex(), ole_variant2val(), ossl_pem_passwd_value(), rb_ary_aref(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_dig(), rb_ary_entry(), rb_ary_last(), rb_ary_rassoc(), rb_ary_subseq(), rb_attr_get(), rb_check_to_float(), rb_class_path_cached(), rb_class_superclass(), rb_clock_getres(), rb_clock_gettime(), rb_dbl_cmp(), rb_define_hooked_variable(), rb_dir_getwd_ospath(), rb_econv_has_convpath_p(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_econv_str_convert(), rb_econv_substr_convert(), rb_enc_from_encoding(), rb_enum_values_pack(), rb_eval_cmd(), rb_execarg_extract_options(), rb_execarg_init(), rb_execarg_run_options(), rb_feature_provided(), rb_fiber_start(), rb_fiddle_free(), rb_file_expand_path_internal(), rb_file_s_absolute_path(), rb_file_s_expand_path(), rb_flo_is_infinite_p(), rb_gc_register_mark_object(), rb_gc_start(), rb_get_kwargs(), rb_gvar_undef_getter(), rb_gvar_var_getter(), rb_hash_assoc(), rb_hash_delete(), rb_hash_dig(), rb_hash_lookup(), rb_hash_rassoc(), rb_int_fdiv(), rb_int_parse_cstr(), rb_integer_float_cmp(), rb_io_extract_encoding_option(), rb_io_fptr_finalize(), rb_io_print(), rb_io_printf(), rb_io_puts(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_compile(), rb_iseq_compile_on_base(), rb_iseq_method_name(), rb_iseq_parameters(), rb_iseq_pathobj_new(), rb_ivar_get(), rb_key_err_new(), rb_last_status_clear(), rb_locale_charmap(), rb_marshal_define_compat(), rb_mem_clear(), rb_method_call(), rb_method_entry_location(), rb_name_err_new(), rb_need_block(), rb_obj_dig(), rb_obj_remove_instance_variable(), rb_parser_printf(), rb_parser_set_context(), rb_postponed_job_flush(), rb_range_beg_len(), rb_reg_match2(), rb_scan_args(), rb_singleton_class_get(), rb_sourcefilename(), rb_stdio_set_default_encoding(), rb_str_conv_enc(), rb_str_ellipsize(), rb_sym_to_proc(), rb_syserr_new(), rb_thread_current_status(), rb_thread_shield_wait(), rb_thread_stop(), rb_threadptr_error_print(), rb_tracearg_binding(), rb_vm_call_cfunc(), rb_vm_make_jump_tag_but_local_jump(), rb_vm_pop_cfunc_frame(), rb_w32_conv_from_wchar(), reg_enum_key(), reg_get_val(), reg_get_val2(), rsock_freeaddrinfo(), rsock_ipaddr(), rsock_revlookup_flag(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_sockaddr_string_value_with_addrinfo(), rsock_syserr_fail_sockaddr(), ruby_require_internal(), and ruby_set_inplace_mode().
#define Qtrue RUBY_Qtrue |
Definition at line 437 of file ruby.h.
Referenced by BIGNUM_3c(), Init_fiddle(), Init_openssl(), ossl_clear_error(), ossl_debug(), ossl_pem_passwd_cb(), rb_ary_includes(), rb_ary_shared_with_p(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_class_inherited_p(), rb_cvar_defined(), rb_execarg_addopt(), rb_fiber_alive_p(), rb_flo_is_finite_p(), rb_float_eql(), rb_float_gt(), rb_gc_enable(), rb_get_expanded_load_path(), rb_gvar_defined(), rb_hash_compare_by_id_p(), rb_hash_has_key(), rb_integer_float_eq(), rb_io_eof(), rb_iseqw_line_trace_specify(), rb_ivar_defined(), rb_mod_class_variables(), rb_mod_constants(), rb_mod_include_p(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_rgengc_promoted_p(), rb_obj_singleton_methods(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_parser_set_context(), rb_proc_lambda_p(), rb_range_beg_len(), rb_str_eql(), rb_str_equal(), rb_str_include_range_p(), rsock_revlookup_flag(), ruby_env_debug_option(), and ruby_executable_node().
#define Qundef RUBY_Qundef |
Definition at line 439 of file ruby.h.
Referenced by rb_autoload_str(), rb_check_funcall(), rb_check_type(), rb_class_subclass_add(), rb_clear_method_cache_by_class(), rb_const_remove(), rb_f_eval(), rb_get_kwargs(), rb_hash_delete(), rb_hash_delete_entry(), rb_insn_operand_intern(), rb_io_extract_encoding_option(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_get(), rb_ivar_lookup(), rb_method_call_with_block(), rb_obj_remove_instance_variable(), rb_signal_exec(), rb_singleton_class_clone(), rb_thread_io_blocking_region(), rb_threadptr_error_print(), rb_threadptr_setup_exception(), rb_tracearg_object(), rb_tracearg_raised_exception(), rb_tracearg_return_value(), rb_unexpected_type(), rb_vm_block_ep_update(), rb_vm_make_jump_tag_but_local_jump(), and rb_yield().
Definition at line 1203 of file ruby.h.
Referenced by rb_ary_shared_with_p().
#define RARRAY_AREF | ( | a, | |
i | |||
) | (RARRAY_CONST_PTR(a)[i]) |
Definition at line 1033 of file ruby.h.
Referenced by rb_ary_assoc(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_includes(), rb_ary_last(), rb_ary_rassoc(), rb_check_backtrace(), rb_iseq_build_from_ary(), and rb_vm_bugreport().
#define RARRAY_ASET | ( | a, | |
i, | |||
v | |||
) |
#define RARRAY_CONST_PTR | ( | a | ) | rb_array_const_ptr(a) |
Definition at line 1021 of file ruby.h.
Referenced by rb_ary_entry(), rb_ary_resurrect(), rb_eval_cmd(), rb_fiber_start(), rb_keyword_error_new(), rb_proc_call(), and rb_struct_alloc().
#define RARRAY_EMBED_LEN | ( | a | ) |
#define RARRAY_LEN | ( | a | ) | rb_array_len(a) |
Definition at line 1019 of file ruby.h.
Referenced by rb_ary_aref(), rb_ary_assoc(), rb_ary_cat(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_dup(), rb_ary_entry(), rb_ary_includes(), rb_ary_last(), rb_ary_push(), rb_ary_rassoc(), rb_ary_resize(), rb_ary_resurrect(), rb_ary_reverse(), rb_ary_rotate(), rb_ary_shift(), rb_ary_sort_bang(), rb_ary_store(), rb_ary_subseq(), rb_check_backtrace(), rb_gc_register_mark_object(), rb_get_values_at(), rb_Hash(), rb_keyword_error_new(), rb_proc_call(), rb_struct_members(), and rb_vm_bugreport().
#define RARRAY_LENINT | ( | ary | ) | rb_long2int(RARRAY_LEN(ary)) |
Definition at line 1020 of file ruby.h.
Referenced by rb_apply(), rb_eval_cmd(), rb_iseq_build_from_ary(), and rb_struct_alloc().
#define RARRAY_PTR | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(ARRAY, a))) |
Definition at line 1041 of file ruby.h.
Referenced by rb_ary_rotate(), and rb_sym_to_proc().
#define RARRAY_PTR_USE | ( | ary, | |
ptr_name, | |||
expr | |||
) |
Definition at line 1026 of file ruby.h.
Referenced by rb_ary_delete_at(), rb_ary_reverse(), rb_hash_keys(), and rb_hash_values().
#define RARRAY_PTR_USE_START | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(a)) |
#define RB_ALLOC | ( | type | ) | ((type*)ruby_xmalloc(sizeof(type))) |
#define RB_ALLOC_N | ( | type, | |
n | |||
) | ((type*)ruby_xmalloc2((size_t)(n),sizeof(type))) |
#define RB_ALLOCV | ( | v, | |
n | |||
) |
#define RB_ALLOCV_END | ( | v | ) | rb_free_tmp_buffer(&(v)) |
#define RB_ALLOCV_N | ( | type, | |
v, | |||
n | |||
) |
#define RB_BUILTIN_TYPE | ( | x | ) | (int)(((struct RBasic*)(x))->flags & RUBY_T_MASK) |
#define rb_check_safe_str | ( | x | ) | [<"rb_check_safe_str() is obsolete; use SafeStringValue() instead">] |
#define RB_CHR2FIX | ( | x | ) | RB_INT2FIX((long)((x)&0xff)) |
#define RB_DYNAMIC_SYM_P | ( | x | ) | (!RB_SPECIAL_CONST_P(x) && RB_BUILTIN_TYPE(x) == (RUBY_T_SYMBOL)) |
#define RB_FIX2INT | ( | x | ) | ((int)RB_FIX2LONG(x)) |
#define RB_FIX2LONG | ( | x | ) | ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
#define RB_FIX2SHORT | ( | x | ) | (rb_fix2short((VALUE)(x))) |
#define RB_FIX2UINT | ( | x | ) | ((unsigned int)RB_FIX2ULONG(x)) |
#define RB_FIX2ULONG | ( | x | ) | ((unsigned long)RB_FIX2LONG(x)) |
#define rb_fix_new | ( | v | ) | RB_INT2FIX(v) |
#define RB_FIXABLE | ( | f | ) | (RB_POSFIXABLE(f) && RB_NEGFIXABLE(f)) |
#define RB_FIXNUM_P | ( | f | ) | (((int)(SIGNED_VALUE)(f))&RUBY_FIXNUM_FLAG) |
#define RB_FL_ABLE | ( | x | ) | (!RB_SPECIAL_CONST_P(x) && RB_BUILTIN_TYPE(x) != RUBY_T_NODE) |
#define RB_FL_ALL_RAW | ( | x, | |
f | |||
) | (RB_FL_TEST_RAW((x),(f)) == (f)) |
#define RB_FL_ANY | ( | x, | |
f | |||
) | RB_FL_TEST((x),(f)) |
#define RB_FL_ANY_RAW | ( | x, | |
f | |||
) | RB_FL_TEST_RAW((x),(f)) |
#define RB_FL_REVERSE | ( | x, | |
f | |||
) | (RB_FL_ABLE(x) ? RB_FL_REVERSE_RAW(x, f) : (void)0) |
#define RB_FL_SET | ( | x, | |
f | |||
) | (RB_FL_ABLE(x) ? RB_FL_SET_RAW(x, f) : (void)0) |
#define RB_FL_TEST | ( | x, | |
f | |||
) | (RB_FL_ABLE(x)?RB_FL_TEST_RAW((x),(f)):0) |
#define RB_FL_UNSET | ( | x, | |
f | |||
) | (RB_FL_ABLE(x) ? RB_FL_UNSET_RAW(x, f) : (void)0) |
#define RB_FLOAT_TYPE_P | ( | obj | ) |
Definition at line 523 of file ruby.h.
Referenced by rb_big_mul(), rb_big_pow(), and rb_numeric_quo().
#define RB_FLONUM_P | ( | x | ) | ((((int)(SIGNED_VALUE)(x))&RUBY_FLONUM_MASK) == RUBY_FLONUM_FLAG) |
#define rb_funcall2 rb_funcallv |
Definition at line 1791 of file ruby.h.
Referenced by asn1time_to_time().
#define rb_funcall3 rb_funcallv_public |
#define RB_GC_GUARD | ( | v | ) | (*rb_gc_guarded_ptr_val(&(v),(v))) |
Definition at line 552 of file ruby.h.
Referenced by rb_econv_substr_append(), rb_execarg_addopt(), rb_freopen(), rb_integer_pack(), rb_proc_call(), rb_str_subseq(), and ruby_getcwd().
#define RB_IMMEDIATE_P | ( | x | ) | ((VALUE)(x) & RUBY_IMMEDIATE_MASK) |
#define RB_INT2FIX | ( | i | ) | (((VALUE)(i))<<1 | RUBY_FIXNUM_FLAG) |
Definition at line 231 of file ruby.h.
Referenced by Init_win32ole_variant_m().
#define rb_int_new | ( | v | ) | rb_int2inum(v) |
#define rb_intern_const | ( | str | ) | rb_intern2((str), (long)strlen(str)) |
Definition at line 1777 of file ruby.h.
Referenced by Init_Object(), and rb_num_get_rounding_option().
#define RB_LONG2FIX | ( | i | ) | RB_INT2FIX(i) |
#define rb_long2int | ( | n | ) | ((int)(n)) |
Definition at line 319 of file ruby.h.
Referenced by ossl_time_split(), rb_freopen(), rb_profile_frame_full_label(), rb_struct_new(), and rb_w32_conv_from_wchar().
#define RB_NEGFIXABLE | ( | f | ) | ((f) >= RUBY_FIXNUM_MIN) |
#define RB_NEWOBJ | ( | obj, | |
type | |||
) | type *(obj) = (type*)rb_newobj() |
#define RB_NEWOBJ_OF | ( | obj, | |
type, | |||
klass, | |||
flags | |||
) | type *(obj) = (type*)rb_newobj_of(klass, flags) |
#define RB_NUM2INT | ( | x | ) | ((int)RB_NUM2LONG(x)) |
#define RB_NUM2UINT | ( | x | ) | ((unsigned int)RB_NUM2ULONG(x)) |
#define RB_NUM2USHORT | ( | x | ) | rb_num2ushort(x) |
#define RB_OBJ_FREEZE_RAW | ( | x | ) | (void)(RBASIC(x)->flags |= RUBY_FL_FREEZE) |
#define RB_OBJ_FROZEN | ( | x | ) | (!RB_FL_ABLE(x) || RB_OBJ_FROZEN_RAW(x)) |
#define RB_OBJ_FROZEN_RAW | ( | x | ) | (RBASIC(x)->flags&RUBY_FL_FREEZE) |
#define RB_OBJ_INFECT | ( | x, | |
s | |||
) |
#define RB_OBJ_INFECT_RAW | ( | x, | |
s | |||
) | RB_FL_SET_RAW(x, RB_OBJ_TAINTED_RAW(s)) |
#define RB_OBJ_PROMOTED | ( | x | ) | (RB_SPECIAL_CONST_P(x) ? 0 : RB_OBJ_PROMOTED_RAW(x)) |
#define RB_OBJ_PROMOTED_RAW | ( | x | ) | RB_FL_ALL_RAW(x, RUBY_FL_PROMOTED) |
#define RB_OBJ_TAINT | ( | x | ) | (RB_OBJ_TAINTABLE(x) ? RB_OBJ_TAINT_RAW(x) : (void)0) |
#define RB_OBJ_TAINT_RAW | ( | x | ) | RB_FL_SET_RAW(x, RUBY_FL_TAINT) |
#define RB_OBJ_TAINTABLE | ( | x | ) | (RB_FL_ABLE(x) && RB_BUILTIN_TYPE(x) != RUBY_T_BIGNUM && RB_BUILTIN_TYPE(x) != RUBY_T_FLOAT) |
#define RB_OBJ_TAINTED | ( | x | ) | (!!RB_FL_TEST((x), RUBY_FL_TAINT)) |
#define RB_OBJ_TAINTED_RAW | ( | x | ) | RB_FL_TEST_RAW(x, RUBY_FL_TAINT) |
#define RB_OBJ_UNTRUST | ( | x | ) | RB_OBJ_TAINT(x) |
#define RB_OBJ_UNTRUSTED | ( | x | ) | RB_OBJ_TAINTED(x) |
#define RB_OBJ_WB_UNPROTECT | ( | x | ) | rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
#define RB_OBJ_WB_UNPROTECT_FOR | ( | type, | |
obj | |||
) |
#define RB_OBJ_WRITTEN | ( | a, | |
oldv, | |||
b | |||
) | rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
Definition at line 1438 of file ruby.h.
Referenced by rb_vm_block_ep_update().
#define RB_POSFIXABLE | ( | f | ) | ((f) < RUBY_FIXNUM_MAX+1) |
#define RB_REALLOC_N | ( | var, | |
type, | |||
n | |||
) | ((var)=(type*)ruby_xrealloc2((char*)(var),(size_t)(n),sizeof(type))) |
#define RB_SPECIAL_CONST_P | ( | x | ) | (RB_IMMEDIATE_P(x) || !RB_TEST(x)) |
#define RB_ST2FIX | ( | h | ) | RB_LONG2FIX((long)(h)) |
#define RB_STATIC_SYM_P | ( | x | ) | (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT)) == RUBY_SYMBOL_FLAG) |
#define RB_SYMBOL_P | ( | x | ) | (RB_STATIC_SYM_P(x)||RB_DYNAMIC_SYM_P(x)) |
#define RB_TYPE_P | ( | obj, | |
type | |||
) |
Definition at line 527 of file ruby.h.
Referenced by fun1(), ossl_evp_get_digestbyname(), ossl_obj2bio(), ossl_pem_passwd_cb(), rb_ary_rassoc(), rb_check_backtrace(), rb_check_id(), rb_check_inheritable(), rb_check_to_float(), rb_check_to_integer(), rb_check_typeddata(), rb_class_inherited_p(), rb_class_superclass(), rb_complex_mul(), rb_complex_plus(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_econv_open_opts(), rb_eval_cmd(), rb_float_eql(), rb_float_equal(), rb_float_gt(), rb_float_pow(), rb_get_path_check_to_string(), rb_Hash(), rb_int2str(), rb_int_pred(), rb_int_succ(), rb_io_flush_raw(), rb_io_getbyte(), rb_io_puts(), rb_iseq_build_from_ary(), rb_iseq_pathobj_new(), rb_math_sqrt(), rb_method_name_error(), rb_mod_included_modules(), rb_mod_init_copy(), rb_num2fix(), rb_num2long(), rb_num_get_rounding_option(), rb_num_to_uint(), rb_obj_as_string(), rb_obj_as_string_result(), rb_p(), rb_print_inaccessible(), rb_print_undef(), rb_print_undef_str(), rb_rational_uminus(), rb_reg_match2(), rb_singleton_class_internal_p(), rb_str_eql(), rb_str_equal(), rb_str_setter(), rb_string_value(), rb_threadptr_error_print(), rb_typeddata_is_kind_of(), rb_vm_bugreport(), rsock_syserr_fail_path(), ruby_float_step(), and ruby_th_dtrace_setup().
#define rb_uint_new | ( | v | ) | rb_uint2inum(v) |
#define RB_ZALLOC | ( | type | ) | (RB_ZALLOC_N(type,1)) |
#define RB_ZALLOC_N | ( | type, | |
n | |||
) | ((type*)ruby_xcalloc((size_t)(n),sizeof(type))) |
Definition at line 1197 of file ruby.h.
Referenced by rb_check_copyable(), rb_check_inheritable(), rb_class_real(), rb_define_class_id(), rb_freeze_singleton_class(), rb_hash_dup(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_obj_copy_ivar(), rb_obj_setup(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), rb_str_tmp_frozen_release(), rb_str_vcatf(), and ruby_th_dtrace_setup().
#define RBASIC_CLASS | ( | obj | ) | (RBASIC(obj)->klass) |
Definition at line 878 of file ruby.h.
Referenced by rb_freeze_singleton_class(), rb_iseq_load_iseq(), rb_str_tmp_frozen_release(), and ruby_vm_special_exception_copy().
#define RBIGNUM_NEGATIVE_P | ( | b | ) | (RBIGNUM_SIGN(b)==0) |
#define RBIGNUM_POSITIVE_P | ( | b | ) | (RBIGNUM_SIGN(b)!=0) |
#define RBIGNUM_SIGN | ( | b | ) | (rb_big_sign(b)) |
Definition at line 1199 of file ruby.h.
Referenced by rb_class_get_superclass().
#define RCLASS_SUPER | ( | c | ) | rb_class_get_superclass(c) |
#define RCOMPLEX_SET_IMAG | ( | cmp, | |
i | |||
) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) |
#define RCOMPLEX_SET_REAL | ( | cmp, | |
r | |||
) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) |
#define REALLOC_N | ( | var, | |
type, | |||
n | |||
) | RB_REALLOC_N(var,type,n) |
Definition at line 1206 of file ruby.h.
Referenced by rb_io_make_open_file().
#define RFLOAT_VALUE | ( | v | ) | rb_float_value(v) |
Definition at line 933 of file ruby.h.
Referenced by rb_big_mul(), rb_big_pow(), rb_flo_is_finite_p(), rb_flo_is_infinite_p(), rb_float_abs(), rb_float_eql(), rb_float_equal(), rb_float_gt(), rb_float_pow(), rb_float_uminus(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_num2fix(), and rb_num2long().
#define RGENGC_WB_PROTECTED_FLOAT 1 |
Definition at line 792 of file ruby.h.
Referenced by rb_float_new_in_heap().
#define RHASH_EMPTY_P | ( | h | ) | (RHASH_SIZE(h) == 0) |
Definition at line 1060 of file ruby.h.
Referenced by rb_execarg_extract_options(), rb_extract_keywords(), and rb_hash_assoc().
#define RHASH_ITER_LEV | ( | h | ) | rb_hash_iter_lev(h) |
Definition at line 1057 of file ruby.h.
Referenced by rb_hash_aset(), rb_hash_foreach(), and rb_hash_rehash().
#define RHASH_SET_IFNONE | ( | h, | |
ifnone | |||
) | rb_hash_set_ifnone((VALUE)h, ifnone) |
#define RHASH_SIZE | ( | h | ) | NUM2SIZET(rb_hash_size(h)) |
#define RHASH_TBL | ( | h | ) | rb_hash_tbl(h) |
#define RMODULE_CONST_TBL | ( | m | ) | RCLASS_CONST_TBL(m) |
#define RMODULE_INCLUDED_INTO_REFINEMENT RMODULE_INCLUDED_INTO_REFINEMENT |
#define RMODULE_IV_TBL | ( | m | ) | RCLASS_IV_TBL(m) |
#define RMODULE_M_TBL | ( | m | ) | RCLASS_M_TBL(m) |
#define RMODULE_SUPER | ( | m | ) | RCLASS_SUPER(m) |
Definition at line 1198 of file ruby.h.
Referenced by rb_obj_copy_ivar().
#define ROBJECT_IV_INDEX_TBL | ( | o | ) |
Definition at line 908 of file ruby.h.
Referenced by rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), and rb_obj_remove_instance_variable().
#define ROBJECT_IVPTR | ( | o | ) |
Definition at line 904 of file ruby.h.
Referenced by rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), rb_obj_copy_ivar(), and rb_obj_remove_instance_variable().
#define ROBJECT_NUMIV | ( | o | ) |
Definition at line 900 of file ruby.h.
Referenced by rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), and rb_obj_remove_instance_variable().
#define RREGEXP_PTR | ( | r | ) | (RREGEXP(r)->ptr) |
Definition at line 1049 of file ruby.h.
Referenced by rb_reg_prepare_re0(), and rb_reg_regsub().
#define RREGEXP_SRC_END | ( | r | ) | RSTRING_END(RREGEXP(r)->src) |
#define RREGEXP_SRC_LEN | ( | r | ) | RSTRING_LEN(RREGEXP(r)->src) |
#define RREGEXP_SRC_PTR | ( | r | ) | RSTRING_PTR(RREGEXP(r)->src) |
Definition at line 1201 of file ruby.h.
Referenced by rb_str_subseq(), and rb_str_tmp_frozen_release().
#define RSTRING_EMBED_LEN | ( | str | ) |
#define RSTRING_END | ( | str | ) |
Definition at line 979 of file ruby.h.
Referenced by rb_enc_uint_chr(), rb_parser_printf(), rb_str_escape(), rb_str_ord(), and rb_str_vcatf().
#define RSTRING_GETMEM | ( | str, | |
ptrvar, | |||
lenvar | |||
) |
Definition at line 984 of file ruby.h.
Referenced by rb_freopen(), rb_str_cmp(), rb_str_conv_enc_opts(), rb_str_hash_cmp(), rb_str_plus(), and rb_str_to_inum().
#define RSTRING_LEN | ( | str | ) |
Definition at line 971 of file ruby.h.
Referenced by date_zone_to_diff(), ossl_digest_update(), ossl_pem_passwd_cb(), ossl_pem_passwd_value(), rb_autoload_str(), rb_econv_append(), rb_econv_str_append(), rb_econv_str_convert(), rb_execarg_commandline(), rb_file_dirname(), rb_file_expand_path_internal(), rb_num_get_rounding_option(), rb_path_to_class(), rb_profile_frame_full_label(), rb_reg_check_preprocess(), rb_reg_quote(), rb_reg_regsub(), rb_str_buf_append(), rb_str_cat_conv_enc_opts(), rb_str_chomp_string(), rb_str_comparable(), rb_str_concat(), rb_str_concat_literals(), rb_str_drop_bytes(), rb_str_ellipsize(), rb_str_encode_ospath(), rb_str_end_with_asciichar(), rb_str_fill_terminator(), rb_str_freeze(), rb_str_hash(), rb_str_include_range_p(), rb_str_modify_expand(), rb_str_quote_unprintable(), rb_str_resurrect(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_symname_p(), rb_str_to_dbl(), rb_w32_conv_from_wstr(), rsock_ipaddr(), rsock_send_blocking(), rsock_sendto_blocking(), rsock_syserr_fail_raddrinfo_or_sockaddr(), and RUBY_ALIAS_FUNCTION().
#define RSTRING_LENINT | ( | str | ) | rb_long2int(RSTRING_LEN(str)) |
Definition at line 983 of file ruby.h.
Referenced by ossl_obj2bio().
#define RSTRING_PTR | ( | str | ) |
Definition at line 975 of file ruby.h.
Referenced by date_zone_to_diff(), ossl_digest_update(), ossl_evp_get_cipherbyname(), ossl_obj2bio(), ossl_pem_passwd_cb(), rb_econv_append(), rb_econv_substr_append(), rb_enc_uint_chr(), rb_execarg_commandline(), rb_f_kill(), rb_feature_provided(), rb_file_expand_path_internal(), rb_id2name(), rb_num_get_rounding_option(), rb_path_to_class(), rb_profile_frame_full_label(), rb_reg_check_preprocess(), rb_reg_quote(), rb_reg_regsub(), rb_report_bug_valist(), rb_require_internal(), rb_source_loc(), rb_sourcefile(), rb_str_buf_append(), rb_str_concat(), rb_str_concat_literals(), rb_str_drop_bytes(), rb_str_ellipsize(), rb_str_encode_ospath(), rb_str_end_with_asciichar(), rb_str_escape(), rb_str_fill_terminator(), rb_str_hash(), rb_str_include_range_p(), rb_str_ord(), rb_str_quote_unprintable(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_symname_p(), rb_str_to_dbl(), rb_string_value_ptr(), rb_syntax_error_append(), rb_vm_bugreport(), rb_w32_conv_from_wchar(), rb_w32_conv_from_wstr(), rsock_bsock_send(), rsock_ipaddr(), rsock_send_blocking(), rsock_sendto_blocking(), rsock_sockaddr_string_value_ptr(), rsock_syserr_fail_raddrinfo_or_sockaddr(), ruby_get_inplace_mode(), ruby_init_loadpath_safe(), and VpAlloc().
#define RSTRUCT_GET | ( | st, | |
idx | |||
) | rb_struct_aref(st, INT2NUM(idx)) |
Definition at line 1189 of file ruby.h.
Referenced by rb_struct_init_copy().
#define RSTRUCT_LEN | ( | st | ) | NUM2LONG(rb_struct_size(st)) |
Definition at line 1186 of file ruby.h.
Referenced by rb_struct_init_copy(), rb_struct_members(), and rb_struct_size().
#define RSTRUCT_SET | ( | st, | |
idx, | |||
v | |||
) | rb_struct_aset(st, INT2NUM(idx), (v)) |
Definition at line 1188 of file ruby.h.
Referenced by rb_struct_init_copy().
#define RTEST | ( | v | ) | RB_TEST(v) |
Definition at line 450 of file ruby.h.
Referenced by DEFINE_ENUMFUNCS(), iseq_ibf_dump(), ossl_pem_passwd_cb(), rb_cmpint(), rb_compile_warning(), rb_cvar_get(), rb_cvar_set(), rb_enumeratorize_with_size(), rb_execarg_addopt(), rb_ivar_get(), rb_mod_class_variables(), rb_mod_constants(), rb_obj_methods(), rb_obj_singleton_methods(), rb_parser_set_yydebug(), rb_str_include_range_p(), rb_sys_enc_warning(), rb_sys_warning(), rb_syserr_enc_warning(), rb_thread_wakeup(), rb_tracepoint_new(), rb_warning(), rb_warning_string(), and ruby_init().
#define RTYPEDDATA | ( | obj | ) | (R_CAST(RTypedData)(obj)) |
#define RTYPEDDATA_DATA | ( | v | ) | (RTYPEDDATA(v)->data) |
Definition at line 1110 of file ruby.h.
Referenced by ibf_load_iseq_complete(), rb_objspace_data_type_memsize(), rb_proc_create(), rb_proc_create_from_captured(), and VpNewRbClass().
#define RTYPEDDATA_P | ( | v | ) | (RTYPEDDATA(v)->typed_flag == 1) |
Definition at line 1108 of file ruby.h.
Referenced by rb_check_type(), rb_objspace_data_type_memsize(), rb_objspace_data_type_name(), and rb_typeddata_is_kind_of().
#define RTYPEDDATA_TYPE | ( | v | ) | (RTYPEDDATA(v)->type) |
Definition at line 1109 of file ruby.h.
Referenced by rb_objspace_data_type_memsize(), rb_objspace_data_type_name(), and rb_typeddata_is_kind_of().
#define RUBY_CONST_ID | ( | var, | |
str | |||
) | do RUBY_CONST_ID_CACHE((var) =, (str)) while (0) |
#define RUBY_CONST_ID_CACHE | ( | result, | |
str | |||
) |
#define ruby_debug (*rb_ruby_debug_ptr()) |
Definition at line 1814 of file ruby.h.
Referenced by ruby_init().
#define RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
Definition at line 1132 of file ruby.h.
Referenced by rb_dir_getwd_ospath(), and ruby_getcwd().
#define RUBY_EVENT_B_RETURN 0x0200 |
Definition at line 2092 of file ruby.h.
Referenced by rb_tracearg_return_value().
#define RUBY_EVENT_C_RETURN 0x0040 |
Definition at line 2086 of file ruby.h.
Referenced by rb_tracearg_return_value(), and rb_vm_pop_cfunc_frame().
#define RUBY_EVENT_FIBER_SWITCH 0x1000 |
Definition at line 2095 of file ruby.h.
Referenced by rb_fiber_start().
#define RUBY_EVENT_RAISE 0x0080 |
Definition at line 2087 of file ruby.h.
Referenced by rb_tracearg_raised_exception().
#define RUBY_EVENT_RETURN 0x0010 |
Definition at line 2084 of file ruby.h.
Referenced by rb_tracearg_return_value().
#define RUBY_EVENT_SWITCH 0x040000 /* obsolete name. this macro is for compatibility */ |
#define RUBY_FL_USER19 (((VALUE)1)<<(RUBY_FL_USHIFT+19)) |
#define RUBY_FL_USER_N | ( | n | ) | RUBY_FL_USER##n = (1<<(RUBY_FL_USHIFT+n)) |
#define RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
Definition at line 2107 of file ruby.h.
Referenced by rb_tracearg_object().
#define RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
Definition at line 2106 of file ruby.h.
Referenced by rb_tracearg_object().
#define RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x7f00000 |
Definition at line 2113 of file ruby.h.
Referenced by rb_objspace_set_event_hook().
#define RUBY_MACRO_SELECT | ( | base, | |
n | |||
) | TOKEN_PASTE(base, n) |
#define RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
#define RUBY_SAFE_LEVEL_MAX 1 |
Definition at line 599 of file ruby.h.
Referenced by rb_eval_cmd(), and rb_method_call_with_block().
#define RUBY_TYPED_DEFAULT_FREE RUBY_DEFAULT_FREE |
#define RUBY_TYPED_NEVER_FREE RUBY_NEVER_FREE |
#define RUBY_TYPED_PROMOTED1 RUBY_FL_PROMOTED1 /* THIS FLAG DEPENDS ON Ruby version */ |
#define RUBY_TYPED_WB_PROTECTED RUBY_FL_WB_PROTECTED /* THIS FLAG DEPENDS ON Ruby version */ |
#define RUBY_UNTYPED_DATA_FUNC | ( | func | ) | DEPRECATED(func) |
#define ruby_verbose (*rb_ruby_verbose_ptr()) |
Definition at line 1813 of file ruby.h.
Referenced by rb_compile_warn(), rb_compile_warning(), rb_cvar_get(), rb_cvar_set(), rb_enc_warn(), rb_ivar_get(), rb_sys_enc_warning(), rb_sys_warning(), rb_syserr_enc_warning(), rb_warn(), rb_warning(), rb_warning_string(), and ruby_prog_init().
#define SafeStringValue | ( | v | ) |
Definition at line 574 of file ruby.h.
Referenced by rb_f_eval(), and rb_io_ungetbyte().
#define SIGNED_VALUE long |
Definition at line 87 of file ruby.h.
Referenced by rb_big_pow(), rb_obj_id(), VpDtoV(), VpNumOfChars(), VpPower(), VpSqrt(), and VpVtoD().
#define SIZE_MAX ULONG_MAX |
Definition at line 276 of file ruby.h.
Referenced by rb_absint_numwords(), and rb_big_bit_length().
#define SIZEOF_VALUE SIZEOF_LONG |
Definition at line 88 of file ruby.h.
Referenced by rb_fix2str(), rb_memsearch(), rb_uint2big(), and rb_vm_ifunc_new().
#define SIZET2NUM | ( | v | ) | ULONG2NUM(v) |
Definition at line 264 of file ruby.h.
Referenced by rb_big_bit_length(), and rb_big_size_m().
#define SPECIAL_CONST_P | ( | x | ) | RB_SPECIAL_CONST_P(x) |
Definition at line 1242 of file ruby.h.
Referenced by rb_enc_associate_index(), rb_enc_get_index(), rb_frozen_class_p(), rb_gc_writebarrier(), rb_iseq_load_iseq(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_num2dbl(), rb_num_to_dbl(), rb_obj_dig(), rb_obj_freeze(), rb_obj_hide(), rb_obj_id(), rb_obj_reveal(), rb_raw_obj_info(), and rb_singleton_class_get().
#define SSIZET2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 265 of file ruby.h.
Referenced by rsock_bsock_send().
#define STATIC_SYM_P | ( | x | ) | RB_STATIC_SYM_P(x) |
Definition at line 380 of file ruby.h.
Referenced by rb_check_id(), rb_check_symbol(), rb_obj_id(), and rb_sym2id().
#define STRCASECMP | ( | s1, | |
s2 | |||
) | (st_locale_insensitive_strcasecmp((s1), (s2))) |
Definition at line 2158 of file ruby.h.
Referenced by rb_enc_register().
#define StringValue | ( | v | ) | rb_string_value(&(v)) |
Definition at line 569 of file ruby.h.
Referenced by ossl_digest_update(), ossl_obj2bio(), ossl_pem_passwd_value(), ossl_to_der(), rb_exc_new_str(), rb_f_abort(), rb_f_eval(), rb_get_path_check_to_string(), rb_reg_check_preprocess(), rb_str_append(), rb_str_include_range_p(), rb_str_plus(), rb_str_split(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_vcatf(), rsock_bsock_send(), rsock_sockopt_new(), and rsock_syserr_fail_raddrinfo_or_sockaddr().
#define StringValueCStr | ( | v | ) | rb_string_value_cstr(&(v)) |
Definition at line 571 of file ruby.h.
Referenced by ossl_evp_get_cipherbyname(), ossl_evp_get_digestbyname(), rb_execarg_commandline(), rb_file_dirname(), rb_find_file_ext_safe(), rb_find_file_safe(), and rb_vmdebug_debug_print_post().
#define StringValuePtr | ( | v | ) | rb_string_value_ptr(&(v)) |
Definition at line 570 of file ruby.h.
Referenced by rb_file_expand_path_internal(), and reg_open_vkey().
#define STRNCASECMP | ( | s1, | |
s2, | |||
n | |||
) | (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
#define STRTOUL | ( | str, | |
endptr, | |||
base | |||
) | (ruby_strtoul((str), (endptr), (base))) |
#define SYM2ID | ( | x | ) | RB_SYM2ID(x) |
Definition at line 384 of file ruby.h.
Referenced by rb_iseq_build_from_ary(), rb_obj_id(), rb_sym_to_proc(), rb_to_id(), and rsock_revlookup_flag().
#define SYMBOL_FLAG RUBY_SYMBOL_FLAG |
#define SYMBOL_P | ( | x | ) | RB_SYMBOL_P(x) |
Definition at line 382 of file ruby.h.
Referenced by rb_clock_getres(), rb_clock_gettime(), rb_enc_get_index(), rb_gc_stat(), rb_num_get_rounding_option(), rb_to_id(), and rb_to_symbol().
#define T_ARRAY RUBY_T_ARRAY |
Definition at line 498 of file ruby.h.
Referenced by ole_val_ary2variant_ary(), rb_Array(), rb_ary_rassoc(), rb_check_array_type(), rb_check_backtrace(), rb_Hash(), and rb_iseq_build_from_ary().
#define T_BIGNUM RUBY_T_BIGNUM |
Definition at line 501 of file ruby.h.
Referenced by rb_check_to_integer(), rb_float_equal(), rb_float_gt(), rb_float_pow(), rb_int2str(), rb_int_pred(), rb_int_succ(), rb_num2fix(), rb_num2long(), rb_num_to_uint(), and rsock_io_socket_addrinfo().
#define T_CLASS RUBY_T_CLASS |
Definition at line 492 of file ruby.h.
Referenced by rb_check_inheritable(), rb_class_new(), rb_class_new_instance(), rb_data_object_wrap(), rb_data_typed_object_wrap(), rb_define_alloc_func(), rb_define_class(), rb_define_class_id_under(), rb_frozen_class_p(), rb_get_alloc_func(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), rb_make_metaclass(), rb_method_name_error(), rb_mod_init_copy(), rb_obj_alloc(), rb_obj_remove_instance_variable(), rb_singleton_class_internal_p(), rb_vm_bugreport(), and ruby_th_dtrace_setup().
#define T_COMPLEX RUBY_T_COMPLEX |
Definition at line 510 of file ruby.h.
Referenced by rb_complex_mul(), rb_complex_plus(), and rb_math_sqrt().
#define T_DATA RUBY_T_DATA |
Definition at line 506 of file ruby.h.
Referenced by rb_check_convert_type(), rb_check_convert_type_with_id(), rb_check_type(), rb_check_typeddata(), and rb_typeddata_is_kind_of().
#define T_FALSE RUBY_T_FALSE |
Definition at line 505 of file ruby.h.
Referenced by rb_num2fix().
#define T_FILE RUBY_T_FILE |
Definition at line 502 of file ruby.h.
Referenced by ossl_obj2bio(), rb_io_check_io(), rb_io_flush_raw(), rb_io_get_io(), rb_io_getbyte(), rb_io_make_open_file(), rb_p(), and rsock_io_socket_addrinfo().
#define T_FIXNUM RUBY_T_FIXNUM |
Definition at line 503 of file ruby.h.
Referenced by rb_f_kill(), rb_float_equal(), rb_float_gt(), rb_float_pow(), rb_num2fix(), and rsock_io_socket_addrinfo().
#define T_FLOAT RUBY_T_FLOAT |
Definition at line 495 of file ruby.h.
Referenced by rb_check_to_float(), rb_float_eql(), rb_float_equal(), rb_float_gt(), rb_float_new_in_heap(), rb_float_pow(), rb_num2fix(), rb_num2long(), and ruby_float_step().
#define T_HASH RUBY_T_HASH |
Definition at line 499 of file ruby.h.
Referenced by rb_check_hash_type(), rb_econv_open_opts(), rb_iseq_make_compile_option(), and rb_obj_dig().
#define T_ICLASS RUBY_T_ICLASS |
Definition at line 493 of file ruby.h.
Referenced by rb_class_inherited_p(), rb_class_real(), rb_class_superclass(), rb_frozen_class_p(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), and ruby_th_dtrace_setup().
#define T_IMEMO RUBY_T_IMEMO |
Definition at line 511 of file ruby.h.
Referenced by rb_imemo_new().
#define T_MASK RUBY_T_MASK |
#define T_MATCH RUBY_T_MATCH |
#define T_MODULE RUBY_T_MODULE |
Definition at line 494 of file ruby.h.
Referenced by rb_define_module(), rb_define_module_id_under(), rb_frozen_class_p(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), rb_method_name_error(), rb_mod_include_p(), rb_mod_included_modules(), rb_obj_remove_instance_variable(), rb_print_inaccessible(), rb_print_undef(), rb_print_undef_str(), rb_vm_bugreport(), and ruby_th_dtrace_setup().
#define T_NIL RUBY_T_NIL |
Definition at line 490 of file ruby.h.
Referenced by rb_num2fix().
#define T_NODE RUBY_T_NODE |
#define T_NONE RUBY_T_NONE |
#define T_OBJECT RUBY_T_OBJECT |
Definition at line 491 of file ruby.h.
Referenced by rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_remove_instance_variable(), and rsock_sockopt_new().
#define T_RATIONAL RUBY_T_RATIONAL |
Definition at line 509 of file ruby.h.
Referenced by rb_numeric_quo(), and rb_rational_uminus().
#define T_REGEXP RUBY_T_REGEXP |
Definition at line 497 of file ruby.h.
Referenced by rb_check_regexp_type(), and rb_enc_get_index().
#define T_STRING RUBY_T_STRING |
Definition at line 496 of file ruby.h.
Referenced by fun1(), ossl_evp_get_digestbyname(), ossl_pem_passwd_cb(), rb_autoload_str(), rb_check_backtrace(), rb_check_id(), rb_check_string_type(), rb_enc_get_index(), rb_eval_cmd(), rb_f_kill(), rb_fstring(), rb_get_path_check_to_string(), rb_io_puts(), rb_iseq_pathobj_new(), rb_num2fix(), rb_num_get_rounding_option(), rb_obj_as_string(), rb_obj_as_string_result(), rb_reg_match2(), rb_str_eql(), rb_str_equal(), rb_str_quote_unprintable(), rb_str_setter(), rb_str_to_str(), rb_String(), rb_string_value(), rb_threadptr_error_print(), rb_vm_bugreport(), and rsock_syserr_fail_path().
#define T_STRUCT RUBY_T_STRUCT |
#define T_SYMBOL RUBY_T_SYMBOL |
Definition at line 508 of file ruby.h.
Referenced by rb_execarg_addopt(), rb_f_kill(), rb_keyword_error_new(), and rsock_revlookup_flag().
#define T_TRUE RUBY_T_TRUE |
Definition at line 504 of file ruby.h.
Referenced by rb_num2fix().
#define T_UNDEF RUBY_T_UNDEF |
#define T_ZOMBIE RUBY_T_ZOMBIE |
#define TOLOWER | ( | c | ) | rb_tolower(c) |
Definition at line 2154 of file ruby.h.
Referenced by rb_file_expand_path_internal().
#define TYPE | ( | x | ) | rb_type((VALUE)(x)) |
Definition at line 521 of file ruby.h.
Referenced by rb_check_convert_type(), rb_check_convert_type_with_id(), rb_check_type(), rb_convert_type(), rb_convert_type_with_id(), rb_execarg_addopt(), rb_f_kill(), rb_obj_init_copy(), and rsock_io_socket_addrinfo().
#define TypedData_Get_Struct | ( | obj, | |
type, | |||
data_type, | |||
sval | |||
) | ((sval) = (type*)rb_check_typeddata((obj), (data_type))) |
Definition at line 1183 of file ruby.h.
Referenced by itypeinfo(), itypelib(), ole_variant2variant(), oledata_get_struct(), olemethod_data_get_struct(), rb_execarg_get(), rb_method_call_with_block(), rb_parser_append_print(), rb_parser_compile_file_path(), rb_parser_encoding(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_parser_set_context(), rb_parser_set_yydebug(), and rb_parser_while_loop().
#define TypedData_Make_Struct | ( | klass, | |
type, | |||
data_type, | |||
sval | |||
) |
Definition at line 1175 of file ruby.h.
Referenced by create_win32ole_variable(), folemethod_s_allocate(), iseq_ibf_dump(), iseq_ibf_load(), iseq_ibf_load_extra_data(), pruby_register_instance(), rb_binding_alloc(), rb_execarg_new(), rb_parser_new(), and rb_proc_alloc().
#define TypedData_Make_Struct0 | ( | result, | |
klass, | |||
type, | |||
size, | |||
data_type, | |||
sval | |||
) |
#define TypedData_Wrap_Struct | ( | klass, | |
data_type, | |||
sval | |||
) | rb_data_typed_object_wrap((klass),(sval),(data_type)) |
Definition at line 1162 of file ruby.h.
Referenced by VpNewRbClass().
#define UINT2NUM | ( | x | ) | RB_UINT2NUM(x) |
Definition at line 1539 of file ruby.h.
Referenced by generic_to_value(), rb_free_tmp_buffer(), and rb_str_ord().
#define ULONG2NUM | ( | x | ) | RB_ULONG2NUM(x) |
Definition at line 1574 of file ruby.h.
Referenced by generic_to_value().
#define UNREACHABLE ((void)0) /* unreachable */ |
Definition at line 46 of file ruby.h.
Referenced by dln_load(), generic_to_value(), rb_f_abort(), rb_f_notimplement(), rb_print_inaccessible(), rb_print_undef(), rb_uv_to_utf8(), and rsock_io_socket_addrinfo().
#define ZALLOC_N | ( | type, | |
n | |||
) | RB_ZALLOC_N(type,n) |
typedef VALUE rb_block_call_func(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg)) |
typedef struct rb_data_type_struct rb_data_type_t |
typedef uint32_t rb_event_flag_t |
typedef void(* rb_event_hook_func_t) (rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass) |
typedef VALUE rb_gvar_getter_t(ID id, void *data, struct rb_global_variable *gvar) |
typedef void rb_gvar_setter_t(VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
typedef char ruby_check_sizeof_int[SIZEOF_INT==sizeof(int) ? 1 :-1] |
typedef char ruby_check_sizeof_long[SIZEOF_LONG==sizeof(long) ? 1 :-1] |
typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP==sizeof(void *) ? 1 :-1] |
enum rb_io_wait_readwrite |
enum ruby_fl_type |
enum ruby_rarray_flags |
enum ruby_rmodule_flags |
enum ruby_robject_flags |
enum ruby_rstring_flags |
enum ruby_special_consts |
enum ruby_value_type |
Enumerator | |
---|---|
RUBY_T_NONE | |
RUBY_T_OBJECT | |
RUBY_T_CLASS | |
RUBY_T_MODULE | |
RUBY_T_FLOAT | |
RUBY_T_STRING | |
RUBY_T_REGEXP | |
RUBY_T_ARRAY | |
RUBY_T_HASH | |
RUBY_T_STRUCT | |
RUBY_T_BIGNUM | |
RUBY_T_FILE | |
RUBY_T_DATA | |
RUBY_T_MATCH | |
RUBY_T_COMPLEX | |
RUBY_T_RATIONAL | |
RUBY_T_NIL | |
RUBY_T_TRUE | |
RUBY_T_FALSE | |
RUBY_T_SYMBOL | |
RUBY_T_FIXNUM | |
RUBY_T_UNDEF | |
RUBY_T_IMEMO |
|
RUBY_T_NODE | |
RUBY_T_ICLASS | |
RUBY_T_ZOMBIE | |
RUBY_T_MASK |
RUBY_SYMBOL_EXPORT_BEGIN void* alloca | ( | ) |
CONSTFUNC | ( | void | rb_secure_updateVALUE | ) |
DEPRECATED_BY | ( | rb_data_object_wrap | , |
static inline VALUE | rb_data_object_allocVALUE, void *, RUBY_DATA_FUNC, RUBY_DATA_FUNC | ||
) |
DEPRECATED_BY | ( | rb_data_typed_object_wrap | , |
static inline VALUE | rb_data_typed_object_allocVALUE, void *, const rb_data_type_t * | ||
) |
NORETURN | ( | void | rb_insecure_operationvoid | ) |
NORETURN | ( | void | ruby_malloc_size_overflowsize_t, size_t | ) |
NORETURN | ( | void | rb_gvar_readonly_setterVALUE val, ID id, void *data, struct rb_global_variable *gvar | ) |
NORETURN | ( | void | rb_bug_errnoconst char *, int | ) |
NORETURN | ( | void | rb_sys_failconst char * | ) |
NORETURN | ( | void | rb_sys_fail_strVALUE | ) |
NORETURN | ( | void | rb_mod_sys_failVALUE, const char * | ) |
NORETURN | ( | void | rb_mod_sys_fail_strVALUE, VALUE | ) |
NORETURN | ( | void | rb_readwrite_sys_failenum rb_io_wait_readwrite, const char * | ) |
NORETURN | ( | void | rb_syserr_failint, const char * | ) |
NORETURN | ( | void | rb_syserr_fail_strint, VALUE | ) |
NORETURN | ( | void | rb_mod_syserr_failVALUE, int, const char * | ) |
NORETURN | ( | void | rb_mod_syserr_fail_strVALUE, int, VALUE | ) |
NORETURN | ( | void | rb_readwrite_syserr_failenum rb_io_wait_readwrite, int, const char * | ) |
NORETURN | ( | void | rb_throwconst char *, VALUE | ) |
PRINTF_ARGS | ( | void | rb_warningconst char *,..., |
1 | , | ||
2 | |||
) |
PRINTF_ARGS | ( | void | rb_compile_warningconst char *, int, const char *,..., |
3 | , | ||
4 | |||
) |
PRINTF_ARGS | ( | int | ruby_snprintfchar *str, size_t n, char const *fmt,..., |
3 | , | ||
4 | |||
) |
PUREFUNC | ( | double | rb_float_valueVALUE | ) |
void rb_add_event_hook | ( | rb_event_hook_func_t | func, |
rb_event_flag_t | events, | ||
VALUE | data | ||
) |
Definition at line 135 of file vm_trace.c.
void* rb_alloc_tmp_buffer | ( | volatile VALUE * | store, |
long | len | ||
) |
Definition at line 8136 of file gc.c.
References cnt, rb_alloc_tmp_buffer_with_count(), rb_eArgError, rb_raise(), and roomof.
void* rb_alloc_tmp_buffer_with_count | ( | volatile VALUE * | store, |
size_t | len, | ||
size_t | count | ||
) |
int rb_big_sign | ( | VALUE | ) |
Definition at line 6710 of file bignum.c.
References BIGNUM_SIGN.
Definition at line 238 of file vm_eval.c.
References GET_THREAD, and PASS_PASSED_BLOCK_HANDLER_TH.
Returns ID for the given name if it is interned already, or 0.
namep | the pointer to the name object |
namep
must be a Symbol or a String, or possible to convert with to_str method. namep
is a Symbol or a String if non-zero value is returned, or is a String if 0 is returned. Definition at line 915 of file symbol.c.
References DYNAMIC_SYM_P, name, NIL_P, PRIsVALUE, rb_check_string_type(), rb_eTypeError, rb_raise(), RB_TYPE_P, RSYMBOL, STATIC_SYM2ID, STATIC_SYM_P, SYMBOL_PINNED_P, and T_STRING.
Referenced by rb_execarg_addopt(), rb_f_untrace_var(), and rb_obj_singleton_method().
void rb_check_safe_obj | ( | VALUE | ) |
Definition at line 117 of file safe.c.
References OBJ_TAINTED, rb_insecure_operation(), and rb_safe_level().
Definition at line 948 of file symbol.c.
References DYNAMIC_SYM_P, name, STATIC_SYM_P, sym, and SYMBOL_PINNED_P.
Definition at line 450 of file variable.c.
References fc_result::path.
Referenced by rb_clear_method_cache_by_class(), and rb_obj_classname().
VALUE rb_current_receiver | ( | void | ) |
Definition at line 246 of file vm_eval.c.
References rb_execution_context_struct::cfp, rb_thread_struct::ec, GET_THREAD, rb_eRuntimeError, rb_raise(), and rb_control_frame_struct::self.
VALUE rb_data_object_wrap | ( | VALUE | , |
void * | , | ||
RUBY_DATA_FUNC | , | ||
RUBY_DATA_FUNC | |||
) |
Definition at line 2037 of file gc.c.
References Check_Type, and T_CLASS.
Referenced by RUBY_ALIAS_FUNCTION().
VALUE rb_data_object_zalloc | ( | VALUE | , |
size_t | , | ||
RUBY_DATA_FUNC | , | ||
RUBY_DATA_FUNC | |||
) |
VALUE rb_data_typed_object_wrap | ( | VALUE | klass, |
void * | datap, | ||
const rb_data_type_t * | |||
) |
Definition at line 2058 of file gc.c.
References Check_Type, and T_CLASS.
Referenced by RUBY_ALIAS_FUNCTION().
VALUE rb_data_typed_object_zalloc | ( | VALUE | klass, |
size_t | size, | ||
const rb_data_type_t * | type | ||
) |
Definition at line 2691 of file variable.c.
References rb_const_set(), rb_intern, rb_is_const_id(), and rb_warn().
Referenced by exp1(), Init_Bignum(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_limits(), Init_openssl(), Init_ossl_config(), Init_sizeof(), Init_win32ole_variant_m(), rb_define_global_const(), and rb_file_const().
Definition at line 2702 of file variable.c.
References rb_cObject, and rb_define_const().
Definition at line 617 of file variable.c.
References Qnil.
Referenced by Init_load(), rb_define_readonly_variable(), rb_define_variable(), rb_define_virtual_variable(), and ruby_prog_init().
Definition at line 642 of file variable.c.
References rb_define_hooked_variable(), and rb_gvar_readonly_setter().
Definition at line 636 of file variable.c.
References rb_define_hooked_variable().
Definition at line 648 of file variable.c.
References rb_global_variable::getter, rb_define_hooked_variable(), rb_gvar_readonly_setter(), rb_gvar_val_getter(), and rb_global_variable::setter.
Referenced by Init_eval(), Init_safe(), and InitVM_process().
Evaluates the given string in an isolated binding.
Here "isolated" means the binding does not inherit any other binding. This behaves same as the binding for required libraries.
FILE will be "(eval)", and LINE starts from 1 in the evaluation.
str | Ruby code to evaluate. |
Exception | Raises an exception on error. |
Definition at line 1447 of file vm_eval.c.
References ruby_eval_string_from_file().
Referenced by rb_eval_string_protect().
Evaluates the given string in an isolated binding.
FILE will be "(eval)", and LINE starts from 1 in the evaluation.
str | Ruby code to evaluate. |
state | Being set to zero if succeeded. Nonzero if an error occurred. |
Definition at line 1463 of file vm_eval.c.
References rb_eval_string(), and rb_protect().
Referenced by rb_eval_string_wrap().
Evaluates the given string under a module binding in an isolated binding.
This is same as the binding for loaded libraries on "load('foo', true)".
FILE will be "(eval)", and LINE starts from 1 in the evaluation.
str | Ruby code to evaluate. |
state | Being set to zero if succeeded. Nonzero if an error occurred. |
Definition at line 1480 of file vm_eval.c.
References GET_THREAD, rb_eval_string_protect(), rb_extend_object(), rb_module_new(), rb_obj_clone(), rb_vm_top_self(), TAG_NONE, TH_JUMP_TAG, rb_thread_struct::top_self, rb_thread_struct::top_wrapper, and val.
short rb_fix2short | ( | VALUE | ) |
Definition at line 3000 of file numeric.c.
References FIX2LONG, FIXNUM_P, and rb_num2long().
unsigned short rb_fix2ushort | ( | VALUE | ) |
Definition at line 3019 of file numeric.c.
References FIX2ULONG, FIXNUM_P, and rb_num2ushort().
VALUE rb_float_new_in_heap | ( | double | ) |
Definition at line 922 of file numeric.c.
References FL_WB_PROTECTED, NEWOBJ_OF, OBJ_FREEZE, rb_cFloat, RGENGC_WB_PROTECTED_FLOAT, and T_FLOAT.
void void rb_free_tmp_buffer | ( | volatile VALUE * | store | ) |
Definition at line 8148 of file gc.c.
References ATOMIC_PTR_EXCHANGE, ATOMIC_VALUE_EXCHANGE, rb_objspace::malloc_params, RNODE, ruby_xfree(), and UINT2NUM.
Calls a method.
recv | receiver of the method |
mid | an ID that represents the name of the method |
n | the number of arguments |
... | arbitrary number of method arguments |
Definition at line 774 of file vm_eval.c.
References ALLOCA_N, argv, and va_init_list.
Referenced by default_inspect(), DupConfigPtr(), fun1(), generic_to_value(), ossl_time_split(), ossl_to_der(), rb_big_pow(), rb_class_inherited(), rb_cmpint(), rb_exc_new(), rb_exc_new_str(), rb_io_flush_raw(), rb_numeric_quo(), rb_obj_as_string(), and rb_obj_init_dup_clone().
Definition at line 826 of file vm_eval.c.
References PASS_PASSED_BLOCK_HANDLER.
Definition at line 833 of file vm_eval.c.
References GET_THREAD, and NIL_P.
Referenced by rb_sym_proc_call().
Calls a method.
recv | receiver of the method |
mid | an ID that represents the name of the method |
argc | the number of arguments |
argv | pointer to an array of method arguments |
Definition at line 805 of file vm_eval.c.
Referenced by rb_eval_cmd().
Definition at line 97 of file gc.c.
References rb_gc_guarded_val, and val.
void rb_gc_register_address | ( | VALUE * | ) |
Definition at line 6241 of file gc.c.
References ALLOC, global_list, gc_list::next, rb_objspace, and gc_list::varptr.
Referenced by rb_global_variable().
void rb_gc_register_mark_object | ( | VALUE | ) |
Definition at line 6227 of file gc.c.
References GET_THREAD, MARK_OBJECT_ARY_BUCKET_SIZE, Qnil, RARRAY_LEN, rb_ary_last(), rb_ary_push(), and rb_ary_tmp_new().
Referenced by rb_define_class_id_under(), rb_define_module_id_under(), rb_iseq_defined_string(), rb_sym_to_proc(), and rb_vm_register_special_exception_str().
void rb_gc_unregister_address | ( | VALUE * | ) |
Definition at line 6253 of file gc.c.
References global_list, gc_list::next, rb_objspace, gc_list::varptr, and xfree().
Definition at line 5984 of file gc.c.
References is_incremental_marking, rb_bug(), rb_objspace, RGENGC_CHECK_MODE, and SPECIAL_CONST_P.
Definition at line 226 of file file.c.
References rb_get_path_check(), and rb_safe_level().
Referenced by rb_feature_provided().
Definition at line 220 of file file.c.
References rb_get_path_check().
Definition at line 2250 of file dir.c.
References glob_args::enc, glob_args::func, rb_ascii8bit_encoding(), and glob_args::value.
void rb_global_variable | ( | VALUE * | ) |
Definition at line 6276 of file gc.c.
References rb_gc_register_address().
Referenced by Init_openssl().
Definition at line 851 of file variable.c.
References rb_global_entry().
Definition at line 842 of file variable.c.
References rb_global_entry().
VALUE rb_gvar_undef_getter | ( | ID | id, |
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 510 of file variable.c.
References PRIsVALUE, Qnil, QUOTE_ID, and rb_warning().
Referenced by rb_global_entry(), and rb_gvar_defined().
void rb_gvar_undef_marker | ( | VALUE * | var | ) |
Definition at line 528 of file variable.c.
Referenced by rb_global_entry().
void rb_gvar_undef_setter | ( | VALUE | val, |
ID | id, | ||
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 518 of file variable.c.
References rb_global_variable::data, rb_global_variable::getter, rb_global_variable::marker, rb_gvar_val_getter(), rb_gvar_val_marker(), rb_gvar_val_setter(), and rb_global_variable::setter.
Referenced by rb_global_entry().
VALUE rb_gvar_val_getter | ( | ID | id, |
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 533 of file variable.c.
Referenced by rb_define_virtual_variable(), and rb_gvar_undef_setter().
void rb_gvar_val_marker | ( | VALUE * | var | ) |
Definition at line 545 of file variable.c.
References rb_gc_mark_maybe().
Referenced by rb_gvar_undef_setter().
void rb_gvar_val_setter | ( | VALUE | val, |
ID | id, | ||
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 539 of file variable.c.
References rb_global_variable::data.
Referenced by rb_gvar_undef_setter().
VALUE rb_gvar_var_getter | ( | ID | id, |
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 552 of file variable.c.
References Qnil, and rb_global_entry::var.
void rb_gvar_var_marker | ( | VALUE * | var | ) |
Definition at line 566 of file variable.c.
References rb_gc_mark_maybe().
void rb_gvar_var_setter | ( | VALUE | val, |
ID | id, | ||
void * | data, | ||
struct rb_global_variable * | gvar | ||
) |
Definition at line 560 of file variable.c.
Definition at line 751 of file symbol.c.
References rb_id2str(), and RSTRING_PTR.
Referenced by rb_undef(), rsock_inspect_sockaddr(), and ruby_debug_print_id().
Definition at line 745 of file symbol.c.
Referenced by rb_id2name(), rb_id_attrset(), and rb_sym2str().
Definition at line 726 of file symbol.c.
References DYNAMIC_ID_P, and STATIC_ID2SYM.
VALUE rb_int2big | ( | SIGNED_VALUE | ) |
Definition at line 3162 of file bignum.c.
References BIGNUM_SET_NEGATIVE_SIGN, neg, and rb_uint2big().
Referenced by rb_big_divmod(), rb_big_modulo(), rb_big_mul(), rb_big_remainder(), and rb_int2inum().
VALUE rb_int2inum | ( | SIGNED_VALUE | ) |
Definition at line 3190 of file bignum.c.
References FIXABLE, LONG2FIX, and rb_int2big().
Definition at line 611 of file symbol.c.
References rb_intern2(), and strlen().
Definition at line 604 of file symbol.c.
References rb_intern3(), and rb_usascii_encoding().
Referenced by Init_load(), and rb_intern().
Definition at line 1156 of file vm_eval.c.
Referenced by rb_block_call(), rb_check_block_call(), and rb_proc_new().
Definition at line 3087 of file variable.c.
References rb_intern, and rb_ivar_get().
Definition at line 3095 of file variable.c.
References rb_intern, and rb_ivar_set().
Referenced by Init_md5(), Init_rmd160(), and Init_sha1().
long rb_num2long | ( | VALUE | ) |
Definition at line 2799 of file numeric.c.
References FIX2LONG, FIXNUM_P, FLOAT_OUT_OF_RANGE, LONG_MAX_PLUS_ONE, LONG_MIN_MINUS_ONE_IS_LESS_THAN, NIL_P, rb_big2long(), rb_eTypeError, rb_raise(), rb_to_int(), RB_TYPE_P, RFLOAT_VALUE, T_BIGNUM, and T_FLOAT.
Referenced by rb_fix2short(), rb_num2fix(), rb_num2int(), and rb_num2short().
short rb_num2short | ( | VALUE | ) |
Definition at line 2991 of file numeric.c.
References rb_num2long().
unsigned short rb_num2ushort | ( | VALUE | ) |
Definition at line 3009 of file numeric.c.
Referenced by rb_fix2ushort().
Definition at line 459 of file variable.c.
References CLASS_OF, and rb_class2name().
Referenced by rb_Hash().
void rb_p | ( | VALUE | ) |
Definition at line 7448 of file io.c.
References CLASS_OF, rb_inspect(), rb_method_basic_definition_p(), rb_obj_as_string(), rb_stdout, RB_TYPE_P, and T_FILE.
int rb_remove_event_hook | ( | rb_event_hook_func_t | func | ) |
Definition at line 194 of file vm_trace.c.
Definition at line 1061 of file load.c.
References rb_require_safe(), rb_safe_level(), and rb_str_new_cstr().
Referenced by Init_generator(), Init_md5(), Init_ossl_digest(), Init_parser(), Init_rmd160(), and Init_sha1().
int rb_safe_level | ( | void | ) |
Definition at line 35 of file safe.c.
References GET_THREAD.
Referenced by rb_check_copyable(), rb_check_safe_obj(), rb_eval_cmd(), rb_exec_end_proc(), rb_f_require(), rb_f_require_relative(), rb_find_file(), rb_find_file_ext(), rb_get_path(), rb_method_call_with_block(), rb_require(), rb_require_internal(), and rb_secure().
void rb_secure | ( | int | ) |
Definition at line 83 of file safe.c.
References PRIsVALUE, rb_eSecurityError, rb_frame_callee(), rb_id2str, rb_raise(), and rb_safe_level().
Referenced by rb_iseq_disasm().
void rb_set_safe_level | ( | int | ) |
Definition at line 47 of file safe.c.
References rb_thread_struct::ec, GET_THREAD, level, rb_eArgError, rb_raise(), rb_execution_context_struct::safe_level, and SAFE_LEVEL_MAX.
void rb_set_safe_level_force | ( | int | ) |
Definition at line 41 of file safe.c.
References GET_THREAD.
Referenced by rb_eval_cmd(), rb_method_call_with_block(), and rb_require_internal().
Definition at line 1091 of file string.c.
References rb_default_external_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
Definition at line 1097 of file string.c.
References rb_locale_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
Definition at line 1349 of file string.c.
References rb_convert_type_with_id(), and T_STRING.
Referenced by rb_string_value().
Definition at line 2107 of file string.c.
References RString::ptr, rb_str_to_str(), RB_TYPE_P, and T_STRING.
Referenced by rb_string_value_cstr(), and rb_string_value_ptr().
char* rb_string_value_cstr | ( | volatile VALUE * | ) |
Definition at line 2223 of file string.c.
References rb_string_value().
char* rb_string_value_ptr | ( | volatile VALUE * | ) |
Definition at line 2118 of file string.c.
References rb_string_value(), and RSTRING_PTR.
Definition at line 698 of file symbol.c.
References DYNAMIC_SYM_P, id, STATIC_SYM2ID, and STATIC_SYM_P.
Definition at line 734 of file symbol.c.
References DYNAMIC_SYM_P, rb_id2str(), RSYMBOL, and STATIC_SYM2ID.
Definition at line 10496 of file string.c.
References SYM2ID, and SYMBOL_P.
Referenced by rb_f_trace_var().
Definition at line 3140 of file bignum.c.
References BDIGIT, bdigit_roomof, BDIGITS, BIGDN, BIGLO, bignew, BIGNUM_SET_LEN, and SIZEOF_VALUE.
Referenced by rb_int2big(), and rb_uint2inum().
Definition at line 3183 of file bignum.c.
References LONG2FIX, POSFIXABLE, and rb_uint2big().
Definition at line 973 of file vm_eval.c.
References Qundef.
Referenced by ossl_generate_cb_2(), and rb_ary_delete().
Definition at line 1013 of file vm_eval.c.
References NIL_P, rb_check_array_type(), rb_eArgError, and rb_raise().
int ruby_brace_glob | ( | const char * | , |
int | , | ||
ruby_glob_func * | , | ||
VALUE | |||
) |
Definition at line 2366 of file dir.c.
References rb_ascii8bit_encoding(), and ruby_brace_glob_with_enc().
int ruby_glob | ( | const char * | , |
int | , | ||
ruby_glob_func * | , | ||
VALUE | |||
) |
Definition at line 2225 of file dir.c.
References ruby_glob_funcs_t::error, ruby_glob_funcs_t::match, and NULL.
unsigned long ruby_strtoul | ( | const char * | str, |
char ** | endptr, | ||
int | base | ||
) |
int ruby_vsnprintf | ( | char * | str, |
size_t | n, | ||
char const * | fmt, | ||
va_list | ap | ||
) |
Definition at line 1931 of file st.c.
References PUREFUNC().
RUBY_EXTERN VALUE rb_cArray |
RUBY_EXTERN VALUE rb_cBasicObject |
Definition at line 1892 of file ruby.h.
Referenced by Init_class_hierarchy(), and rb_clear_method_cache_by_class().
RUBY_EXTERN VALUE rb_cBinding |
RUBY_EXTERN VALUE rb_cClass |
Definition at line 1899 of file ruby.h.
Referenced by rb_check_inheritable().
RUBY_EXTERN VALUE rb_cComplex |
RUBY_EXTERN VALUE rb_cCont |
RUBY_EXTERN VALUE rb_cData |
Definition at line 1902 of file ruby.h.
Referenced by Init_stringio(), pruby_register_instance(), rb_execarg_new(), rsock_init_addrinfo(), and rsock_init_sockifaddr().
RUBY_EXTERN VALUE rb_cDir |
RUBY_EXTERN VALUE rb_cEncoding |
RUBY_EXTERN VALUE rb_cEnumerator |
RUBY_EXTERN VALUE rb_cFalseClass |
RUBY_EXTERN VALUE rb_cFile |
RUBY_EXTERN VALUE rb_cFloat |
RUBY_EXTERN VALUE rb_cHash |
RUBY_EXTERN VALUE rb_cInteger |
Definition at line 1912 of file ruby.h.
Referenced by Init_Bignum().
RUBY_EXTERN VALUE rb_cIO |
Definition at line 1913 of file ruby.h.
Referenced by Init_File(), Init_nonblock(), Init_ossl_ssl(), Init_wait(), InitVM_console(), and rsock_init_basicsocket().
RUBY_EXTERN VALUE rb_cMatch |
RUBY_EXTERN VALUE rb_cMethod |
RUBY_EXTERN VALUE rb_cModule |
RUBY_EXTERN VALUE rb_cNameErrorMesg |
RUBY_EXTERN VALUE rb_cNilClass |
RUBY_EXTERN VALUE rb_cNumeric |
Definition at line 1919 of file ruby.h.
Referenced by rb_check_to_float().
RUBY_EXTERN VALUE rb_cObject |
Definition at line 1893 of file ruby.h.
Referenced by Init_Array(), Init_Bignum(), Init_Binding(), Init_cparse(), Init_Dir(), Init_Encoding(), Init_Exception(), Init_fiddle_closure(), Init_fiddle_function(), Init_fiddle_handle(), Init_ISeq(), Init_objspace(), Init_ossl_bn(), Init_ossl_cipher(), Init_ossl_config(), Init_ossl_dh(), Init_ossl_dsa(), Init_ossl_ec(), Init_ossl_engine(), Init_ossl_hmac(), Init_ossl_ns_spki(), Init_ossl_ocsp(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_pkey(), Init_ossl_rsa(), Init_ossl_ssl_session(), Init_ossl_x509attr(), Init_ossl_x509cert(), Init_ossl_x509crl(), Init_ossl_x509ext(), Init_ossl_x509req(), Init_ossl_x509revoked(), Init_Proc(), Init_psych_emitter(), Init_psych_parser(), Init_psych_to_ruby(), Init_psych_yaml_tree(), Init_String(), Init_top_self(), Init_VM(), Init_win32ole_method(), Init_win32ole_param(), Init_win32ole_record(), Init_win32ole_type(), Init_win32ole_typelib(), Init_win32ole_variable(), Init_win32ole_variant(), InitVM_Struct(), rb_catch(), rb_class_inherited(), rb_clear_method_cache_by_class(), rb_const_warn_if_deprecated(), rb_define_class(), rb_define_class_id(), rb_define_global_const(), rb_define_module(), rb_mod_const_of(), rb_path_to_class(), rb_uninterruptible(), rsock_init_ancdata(), and rsock_init_sockopt().
RUBY_EXTERN VALUE rb_cProc |
RUBY_EXTERN VALUE rb_cRandom |
RUBY_EXTERN VALUE rb_cRange |
RUBY_EXTERN VALUE rb_cRational |
RUBY_EXTERN VALUE rb_cRegexp |
RUBY_EXTERN VALUE rb_cStat |
RUBY_EXTERN VALUE rb_cString |
Definition at line 1927 of file ruby.h.
Referenced by InitVM_transcode().
RUBY_EXTERN VALUE rb_cStruct |
RUBY_EXTERN VALUE rb_cSymbol |
RUBY_EXTERN VALUE rb_cThread |
RUBY_EXTERN VALUE rb_cTime |
Definition at line 1931 of file ruby.h.
Referenced by asn1time_to_time(), and ole_val2variant().
RUBY_EXTERN VALUE rb_cTrueClass |
RUBY_EXTERN VALUE rb_cUnboundMethod |
RUBY_EXTERN VALUE rb_eArgError |
RUBY_EXTERN VALUE rb_eEncCompatError |
RUBY_EXTERN VALUE rb_eEncodingError |
RUBY_EXTERN VALUE rb_eEOFError |
RUBY_EXTERN VALUE rb_eException |
RUBY_EXTERN VALUE rb_eFatal |
RUBY_EXTERN VALUE rb_eFloatDomainError |
RUBY_EXTERN VALUE rb_eIndexError |
RUBY_EXTERN VALUE rb_eInterrupt |
RUBY_EXTERN VALUE rb_eIOError |
RUBY_EXTERN VALUE rb_eKeyError |
RUBY_EXTERN VALUE rb_eLoadError |
RUBY_EXTERN VALUE rb_eLocalJumpError |
RUBY_EXTERN VALUE rb_eMathDomainError |
RUBY_EXTERN VALUE rb_eNameError |
RUBY_EXTERN VALUE rb_eNoMemError |
RUBY_EXTERN VALUE rb_eNoMethodError |
RUBY_EXTERN VALUE rb_eNotImpError |
RUBY_EXTERN VALUE rb_eRangeError |
RUBY_EXTERN VALUE rb_eRegexpError |
RUBY_EXTERN VALUE rb_eRuntimeError |
RUBY_EXTERN VALUE rb_eScriptError |
RUBY_EXTERN VALUE rb_eSecurityError |
RUBY_EXTERN VALUE rb_eSignal |
RUBY_EXTERN VALUE rb_eStandardError |
RUBY_EXTERN VALUE rb_eStopIteration |
RUBY_EXTERN VALUE rb_eSyntaxError |
RUBY_EXTERN VALUE rb_eSysStackError |
RUBY_EXTERN VALUE rb_eSystemCallError |
RUBY_EXTERN VALUE rb_eSystemExit |
RUBY_EXTERN VALUE rb_eThreadError |
RUBY_EXTERN VALUE rb_eTypeError |
RUBY_EXTERN VALUE rb_eZeroDivError |
RUBY_EXTERN VALUE rb_mComparable |
RUBY_EXTERN VALUE rb_mEnumerable |
RUBY_EXTERN VALUE rb_mErrno |
RUBY_EXTERN VALUE rb_mFileTest |
RUBY_EXTERN VALUE rb_mGC |
RUBY_EXTERN VALUE rb_mKernel |
Definition at line 1881 of file ruby.h.
Referenced by Init_eval_method(), InitVM_Enumerator(), rb_clear_method_cache_by_class(), and rb_define_global_function().
RUBY_EXTERN VALUE rb_mMath |
RUBY_EXTERN VALUE rb_mProcess |
RUBY_EXTERN VALUE rb_mWaitReadable |
Definition at line 1889 of file ruby.h.
Referenced by Init_ossl_ssl().
RUBY_EXTERN VALUE rb_mWaitWritable |
Definition at line 1890 of file ruby.h.
Referenced by Init_ossl_ssl().
RUBY_EXTERN VALUE rb_stderr |
Definition at line 1971 of file ruby.h.
Referenced by rb_f_abort().
RUBY_EXTERN VALUE rb_stdin |
RUBY_EXTERN VALUE rb_stdout |