mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
6525b6f760
* And simplify callers of get_actual_encoding(). * See [Feature #18949]. * See https://github.com/ruby/ruby/pull/6322#issuecomment-1242758474
26 lines
726 B
C
26 lines
726 B
C
/**********************************************************************
|
|
|
|
enc/encdb.c -
|
|
|
|
$Author$
|
|
created at: Mon Apr 7 15:51:31 2008
|
|
|
|
Copyright (C) 2008 Yukihiro Matsumoto
|
|
|
|
**********************************************************************/
|
|
|
|
#include "internal/encoding.h"
|
|
|
|
#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)
|
|
#define ENC_SET_BASE(name, orig) rb_enc_set_base((name), (orig))
|
|
#define ENC_SET_DUMMY(name, orig) rb_enc_set_dummy(name)
|
|
#define ENC_DUMMY_UNICODE(name) ENC_DUMMY(name)
|
|
|
|
void
|
|
Init_encdb(void)
|
|
{
|
|
#include "encdb.h"
|
|
}
|