diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-02 20:06:58 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-02 20:06:58 +0000 |
commit | a13c1148a94d504a7b3d0db55c3b75cba733475e (patch) | |
tree | 731f3ad15a8d13b7ed195b7c87f015340396f82a /enc/us_ascii.c | |
parent | 9d52fda376509f22bee858b0190eb0b289734b90 (diff) | |
download | ruby-a13c1148a94d504a7b3d0db55c3b75cba733475e.tar.gz |
* enc/us_ascii.c: add us_ascii_ prefix for functions to ease
setting breakpoint when debugging.
* enc/euc_jp.c: add eucjp_ prefix.
* enc/sjis.c: add sjis_ prefix.
* enc/iso_8859_1.c: add iso_8859_1_ prefix.
* enc/iso_8859_2.c: add iso_8859_2_ prefix.
* enc/iso_8859_3.c: add iso_8859_3_ prefix.
* enc/iso_8859_4.c: add iso_8859_4_ prefix.
* enc/iso_8859_5.c: add iso_8859_5_ prefix.
* enc/iso_8859_6.c: add iso_8859_6_ prefix.
* enc/iso_8859_7.c: add iso_8859_7_ prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/us_ascii.c')
-rw-r--r-- | enc/us_ascii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/us_ascii.c b/enc/us_ascii.c index 9201679871..df50e2d0d4 100644 --- a/enc/us_ascii.c +++ b/enc/us_ascii.c @@ -1,7 +1,7 @@ #include "regenc.h" extern int -mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc) +us_ascii_mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc) { if (*p & 0x80) return ONIGENC_CONSTRUCT_MBCLEN_INVALID(); @@ -9,7 +9,7 @@ mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc) } OnigEncodingDefine(us_ascii, US_ASCII) = { - mbc_enc_len, + us_ascii_mbc_enc_len, "US-ASCII",/* name */ 1, /* max byte length */ 1, /* min byte length */ |