|
#define | BITSPERSHORT (2*CHAR_BIT) |
|
#define | SHORTMASK ((1<<BITSPERSHORT)-1) |
|
#define | SHORTDN(x) RSHIFT((x),BITSPERSHORT) |
|
#define | SHORTLEN(x) (x) |
|
#define | MARSHAL_MAJOR 4 |
|
#define | MARSHAL_MINOR 8 |
|
#define | TYPE_NIL '0' |
|
#define | TYPE_TRUE 'T' |
|
#define | TYPE_FALSE 'F' |
|
#define | TYPE_FIXNUM 'i' |
|
#define | TYPE_EXTENDED 'e' |
|
#define | TYPE_UCLASS 'C' |
|
#define | TYPE_OBJECT 'o' |
|
#define | TYPE_DATA 'd' |
|
#define | TYPE_USERDEF 'u' |
|
#define | TYPE_USRMARSHAL 'U' |
|
#define | TYPE_FLOAT 'f' |
|
#define | TYPE_BIGNUM 'l' |
|
#define | TYPE_STRING '"' |
|
#define | TYPE_REGEXP '/' |
|
#define | TYPE_ARRAY '[' |
|
#define | TYPE_HASH '{' |
|
#define | TYPE_HASH_DEF '}' |
|
#define | TYPE_STRUCT 'S' |
|
#define | TYPE_MODULE_OLD 'M' |
|
#define | TYPE_CLASS 'c' |
|
#define | TYPE_MODULE 'm' |
|
#define | TYPE_SYMBOL ':' |
|
#define | TYPE_SYMLINK ';' |
|
#define | TYPE_IVAR 'I' |
|
#define | TYPE_LINK '@' |
|
#define | name_s_dump "_dump" |
|
#define | name_s_load "_load" |
|
#define | name_s_mdump "marshal_dump" |
|
#define | name_s_mload "marshal_load" |
|
#define | name_s_dump_data "_dump_data" |
|
#define | name_s_load_data "_load_data" |
|
#define | name_s_alloc "_alloc" |
|
#define | name_s_call "call" |
|
#define | name_s_getbyte "getbyte" |
|
#define | name_s_read "read" |
|
#define | name_s_write "write" |
|
#define | name_s_binmode "binmode" |
|
#define | MARSHAL_INFECTION FL_TAINT |
|
#define | dump_funcall(arg, obj, sym, argc, argv) check_userdump_arg(obj, sym, argc, argv, arg, name_##sym) |
|
#define | dump_check_funcall(arg, obj, sym, argc, argv) check_dump_arg(rb_check_funcall(obj, sym, argc, argv), arg, name_##sym) |
|
#define | w_cstr(s, arg) w_bytes((s), strlen(s), (arg)) |
|
#define | load_mantissa(d, buf, len) (d) |
|
#define | FLOAT_DIG 17 |
|
#define | SINGLETON_DUMP_UNABLE_P(klass) |
|
#define | to_be_skipped_id(id) (id == rb_id_encoding() || id == rb_intern("E") || !rb_id2str(id)) |
|
#define | load_funcall(arg, obj, sym, argc, argv) check_load_arg(rb_funcallv(obj, sym, argc, argv), arg, name_##sym) |
|
#define | r_entry(v, arg) r_entry0((v), (arg)->data->num_entries, (arg)) |
|
#define | r_bytes(arg) r_bytes0(r_long(arg), (arg)) |
|
#define | path2module(path) must_be_module(rb_path_to_class(path), path) |
|
#define | prohibit_ivar(type, str) |
|
#define | rb_intern(str) rb_intern_const(str) |
|
#define | set_id(sym) sym = rb_intern_const(name_##sym) |
|
#define | RUBY_UNTYPED_DATA_WARNING 0 |
|