* enc/trans/utf_16_32.erb.c (fun_so_from_utf_32le): implemented.
[ruby-svn.git] / id.c
bloba02504d809e8c27e5b07e5b296ce371022cf8a38
1 /**********************************************************************
3 id.c -
5 $Author$
6 created at: Thu Jul 12 04:37:51 2007
8 Copyright (C) 2004-2007 Koichi Sasada
10 **********************************************************************/
12 #include "ruby/ruby.h"
14 #define extern
15 #include "id.h"
16 #undef extern
18 void
19 Init_id(void)
21 #undef rb_intern
23 /* Symbols */
24 symIFUNC = ID2SYM(rb_intern("<IFUNC>"));
25 symCFUNC = ID2SYM(rb_intern("<CFUNC>"));
27 /* IDs */
28 idPLUS = rb_intern("+");
29 idMINUS = rb_intern("-");
30 idMULT = rb_intern("*");
31 idDIV = rb_intern("/");
32 idMOD = rb_intern("%");
33 idLT = rb_intern("<");
34 idLTLT = rb_intern("<<");
35 idLE = rb_intern("<=");
36 idGT = rb_intern(">");
37 idGE = rb_intern(">=");
38 idEq = rb_intern("==");
39 idEqq = rb_intern("===");
40 idBackquote = rb_intern("`");
41 idEqTilde = rb_intern("=~");
42 idNot = rb_intern("!");
43 idNeq = rb_intern("!=");
45 idAREF = rb_intern("[]");
46 idASET = rb_intern("[]=");
48 idEach = rb_intern("each");
49 idTimes = rb_intern("times");
50 idLength = rb_intern("length");
51 idLambda = rb_intern("lambda");
52 idIntern = rb_intern("intern");
53 idGets = rb_intern("gets");
54 idSucc = rb_intern("succ");
55 idEnd = rb_intern("end");
56 idRangeEachLT = rb_intern("Range#each#LT");
57 idRangeEachLE = rb_intern("Range#each#LE");
58 idArrayEach = rb_intern("Array#each");
59 idMethodMissing = rb_intern("method_missing");
61 idThrowState = rb_intern("#__ThrowState__");
63 idBitblt = rb_intern("bitblt");
64 idAnswer = rb_intern("the_answer_to_life_the_universe_and_everything");
66 idSend = rb_intern("send");
67 id__send__ = rb_intern("__send__");
69 idRespond_to = rb_intern("respond_to?");
70 idInitialize = rb_intern("initialize");
72 id_core_set_method_alias = rb_intern("core_set_method_alias");
73 id_core_set_variable_alias = rb_intern("core_set_variable_alias");
74 id_core_undef_method = rb_intern("core_undef_method");
75 id_core_define_method = rb_intern("core_define_method");
76 id_core_define_singleton_method = rb_intern("core_define_singleton_method");
77 id_core_set_postexe = rb_intern("core_set_postexe");