* transcode.c (econv_primitive_convert): add output_byteoffset
[ruby-svn.git] / id.c
blob51663094026e60fd1cbc88d45e7e6dc63afba249
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 YYSTYPE_IS_DECLARED
15 #define extern
16 #include "id.h"
17 #undef extern
19 void
20 Init_id(void)
22 #undef rb_intern
24 /* Symbols */
25 symIFUNC = ID2SYM(rb_intern("<IFUNC>"));
26 symCFUNC = ID2SYM(rb_intern("<CFUNC>"));
28 /* IDs */
29 idEach = rb_intern("each");
30 idTimes = rb_intern("times");
31 idLength = rb_intern("length");
32 idLambda = rb_intern("lambda");
33 idIntern = rb_intern("intern");
34 idGets = rb_intern("gets");
35 idSucc = rb_intern("succ");
36 idEnd = rb_intern("end");
37 idRangeEachLT = rb_intern("Range#each#LT");
38 idRangeEachLE = rb_intern("Range#each#LE");
39 idArrayEach = rb_intern("Array#each");
40 idMethodMissing = rb_intern("method_missing");
42 idThrowState = rb_intern("#__ThrowState__");
44 idBitblt = rb_intern("bitblt");
45 idAnswer = rb_intern("the_answer_to_life_the_universe_and_everything");
47 idSend = rb_intern("send");
48 id__send__ = rb_intern("__send__");
50 idRespond_to = rb_intern("respond_to?");
51 idInitialize = rb_intern("initialize");
53 id_core_set_method_alias = rb_intern("core_set_method_alias");
54 id_core_set_variable_alias = rb_intern("core_set_variable_alias");
55 id_core_undef_method = rb_intern("core_undef_method");
56 id_core_define_method = rb_intern("core_define_method");
57 id_core_define_singleton_method = rb_intern("core_define_singleton_method");
58 id_core_set_postexe = rb_intern("core_set_postexe");