2008-04-07 02:51:33 -04:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
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);
|
2009-08-03 20:50:59 -04:00
|
|
|
void rb_enc_set_base(const char *name, const char *orig);
|
2013-09-24 04:15:18 -04:00
|
|
|
int rb_enc_set_dummy(int index);
|
2012-10-05 20:42:14 -04:00
|
|
|
void rb_encdb_set_unicode(int index);
|
2011-02-01 06:47:01 -05:00
|
|
|
#define ENC_REPLICATE(name, orig) rb_encdb_replicate((name), (orig))
|
|
|
|
#define ENC_ALIAS(name, orig) rb_encdb_alias((name), (orig))
|
2008-04-07 02:51:33 -04:00
|
|
|
#define ENC_DUMMY(name) rb_encdb_dummy(name)
|
|
|
|
#define ENC_DEFINE(name) rb_encdb_declare(name)
|
2011-02-01 06:47:01 -05:00
|
|
|
#define ENC_SET_BASE(name, orig) rb_enc_set_base((name), (orig))
|
2013-09-24 04:15:18 -04:00
|
|
|
#define ENC_SET_DUMMY(name, orig) rb_enc_set_dummy(name)
|
|
|
|
#define ENC_DUMMY_UNICODE(name) rb_encdb_set_unicode(rb_enc_set_dummy(ENC_REPLICATE((name), name "BE")))
|
2008-04-07 02:51:33 -04:00
|
|
|
|
|
|
|
void
|
|
|
|
Init_encdb(void)
|
|
|
|
{
|
|
|
|
#include "encdb.h"
|
|
|
|
}
|