1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
static void
Init_id(void)
{
#undef rb_intern
#define rb_intern(str) rb_intern_const(str)
rb_encoding *enc = rb_usascii_encoding();
REGISTER_SYMID(idFreeze, "freeze");
REGISTER_SYMID(idInspect, "inspect");
REGISTER_SYMID(idIntern, "intern");
REGISTER_SYMID(idObject_id, "object_id");
REGISTER_SYMID(idConst_missing, "const_missing");
REGISTER_SYMID(idMethodMissing, "method_missing");
REGISTER_SYMID(idMethod_added, "method_added");
REGISTER_SYMID(idSingleton_method_added, "singleton_method_added");
REGISTER_SYMID(idMethod_removed, "method_removed");
REGISTER_SYMID(idSingleton_method_removed, "singleton_method_removed");
REGISTER_SYMID(idMethod_undefined, "method_undefined");
REGISTER_SYMID(idSingleton_method_undefined, "singleton_method_undefined");
REGISTER_SYMID(idLength, "length");
REGISTER_SYMID(idSize, "size");
REGISTER_SYMID(idGets, "gets");
REGISTER_SYMID(idSucc, "succ");
REGISTER_SYMID(idEach, "each");
REGISTER_SYMID(idProc, "proc");
REGISTER_SYMID(idLambda, "lambda");
REGISTER_SYMID(idSend, "send");
REGISTER_SYMID(id__send__, "__send__");
REGISTER_SYMID(id__attached__, "__attached__");
REGISTER_SYMID(idInitialize, "initialize");
REGISTER_SYMID(idInitialize_copy, "initialize_copy");
REGISTER_SYMID(idInitialize_clone, "initialize_clone");
REGISTER_SYMID(idInitialize_dup, "initialize_dup");
REGISTER_SYMID(idTo_int, "to_int");
REGISTER_SYMID(idTo_ary, "to_ary");
REGISTER_SYMID(idTo_str, "to_str");
REGISTER_SYMID(idTo_sym, "to_sym");
REGISTER_SYMID(idTo_hash, "to_hash");
REGISTER_SYMID(idTo_proc, "to_proc");
REGISTER_SYMID(idTo_io, "to_io");
REGISTER_SYMID(idTo_a, "to_a");
REGISTER_SYMID(idTo_s, "to_s");
REGISTER_SYMID(idTo_i, "to_i");
REGISTER_SYMID(idBt, "bt");
REGISTER_SYMID(idBt_locations, "bt_locations");
REGISTER_SYMID(idCall, "call");
REGISTER_SYMID(idMesg, "mesg");
REGISTER_SYMID(idException, "exception");
REGISTER_SYMID(idUScore, "_");
REGISTER_SYMID(idNULL, """");
REGISTER_SYMID(idEmptyP, "empty?");
REGISTER_SYMID(idEqlP, "eql?");
REGISTER_SYMID(idRespond_to, "respond_to?");
REGISTER_SYMID(idRespond_to_missing, "respond_to_missing?");
REGISTER_SYMID(idIFUNC, "<IFUNC>");
REGISTER_SYMID(idCFUNC, "<CFUNC>");
REGISTER_SYMID(id_core_set_method_alias, "core#set_method_alias");
REGISTER_SYMID(id_core_set_variable_alias, "core#set_variable_alias");
REGISTER_SYMID(id_core_undef_method, "core#undef_method");
REGISTER_SYMID(id_core_define_method, "core#define_method");
REGISTER_SYMID(id_core_define_singleton_method, "core#define_singleton_method");
REGISTER_SYMID(id_core_set_postexe, "core#set_postexe");
REGISTER_SYMID(id_core_hash_from_ary, "core#hash_from_ary");
REGISTER_SYMID(id_core_hash_merge_ary, "core#hash_merge_ary");
REGISTER_SYMID(id_core_hash_merge_ptr, "core#hash_merge_ptr");
REGISTER_SYMID(id_core_hash_merge_kwd, "core#hash_merge_kwd");
}
|