diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-04 17:36:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-04 17:36:19 +0000 |
commit | 28ee4c296680e9131c6d7869d0fd523738af2b89 (patch) | |
tree | 86f96a97921bbdde51cb6e7f312c881eec766408 /id.c | |
parent | 01380620bdbe1afe848e91fc953dc345a39a1188 (diff) | |
download | ruby-28ee4c296680e9131c6d7869d0fd523738af2b89.tar.gz |
id.c: generate
* common.mk, defs/id.def, template/id.c.tmpl: generate id.c as well as id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id.c')
-rw-r--r-- | id.c | 56 |
1 files changed, 0 insertions, 56 deletions
@@ -1,56 +0,0 @@ -/********************************************************************** - - id.c - - - $Author$ - created at: Thu Jul 12 04:37:51 2007 - - Copyright (C) 2004-2007 Koichi Sasada - -**********************************************************************/ - -#include "ruby/ruby.h" - -#include "id.h" - -static void -Init_id(void) -{ -#undef rb_intern -#define rb_intern(str) rb_intern_const(str) - rb_encoding *enc = rb_usascii_encoding(); - - REGISTER_SYMID(idNULL, ""); - REGISTER_SYMID(idIFUNC, "<IFUNC>"); - REGISTER_SYMID(idCFUNC, "<CFUNC>"); - REGISTER_SYMID(idRespond_to, "respond_to?"); - REGISTER_SYMID(idRespond_to_missing, "respond_to_missing?"); - - 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"); - - REGISTER_SYMID(idEach, "each"); - REGISTER_SYMID(idLength, "length"); - REGISTER_SYMID(idSize, "size"); - REGISTER_SYMID(idEmptyP, "empty?"); - REGISTER_SYMID(idLambda, "lambda"); - REGISTER_SYMID(idIntern, "intern"); - REGISTER_SYMID(idGets, "gets"); - REGISTER_SYMID(idSucc, "succ"); - REGISTER_SYMID(idMethodMissing, "method_missing"); - REGISTER_SYMID(idSend, "send"); - REGISTER_SYMID(id__send__, "__send__"); - REGISTER_SYMID(idInitialize, "initialize"); - REGISTER_SYMID(idInitialize_copy, "initialize_copy"); - REGISTER_SYMID(idInitialize_clone, "initialize_clone"); - REGISTER_SYMID(idInitialize_dup, "initialize_dup"); - REGISTER_SYMID(idUScore, "_"); -} |