diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-07 06:51:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-07 06:51:33 +0000 |
commit | 1369cfd16e35d53f3f85c860473ece572c733d1d (patch) | |
tree | 3a4e5b086b088f66da4d9639d1a98b39d62820f3 /enc/encdb.c | |
parent | 3f3fdb4869350554bffcabcac7bf59ab866a8ddf (diff) |
* encoding.c (enc_init_db): moved to enc/encdb.c.
* transcode.c (init_transcoder_table): moved to enc/trans/transdb.c.
* enc/depend (enc/encdb.o enc/trans/transdb.o): depend on
corresponding headers.
* common.mk (COMMONOBJS): moved transcode.o from OBJS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/encdb.c')
-rw-r--r-- | enc/encdb.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/enc/encdb.c b/enc/encdb.c new file mode 100644 index 0000000000..35f4c93b55 --- /dev/null +++ b/enc/encdb.c @@ -0,0 +1,25 @@ +/********************************************************************** + + enc/encdb.c - + + $Author$ + created at: Mon Apr 7 15:51:31 2008 + + Copyright (C) 2008 Yukihiro Matsumoto + +**********************************************************************/ + +int rb_encdb_replicate(const char *alias, const char *orig); +int rb_encdb_alias(const char *alias, const char *orig); +int rb_encdb_dummy(const char *name); +void rb_encdb_declare(const char *name); +#define ENC_REPLICATE(name, orig) rb_encdb_replicate(name, orig) +#define ENC_ALIAS(name, orig) rb_encdb_alias(name, orig) +#define ENC_DUMMY(name) rb_encdb_dummy(name) +#define ENC_DEFINE(name) rb_encdb_declare(name) + +void +Init_encdb(void) +{ +#include "encdb.h" +} |