summaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-11 07:39:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-11 07:39:16 +0000
commit5740d2ef52c6d46a1ebfae55f9ccd3230e4b9b1c (patch)
tree9fa0d68c5c6a149ea2c2b1226d3e2b1688186d20 /include/ruby/encoding.h
parentc65be08b84a200c68f87d1e9fb5acc0f3cf3b509 (diff)
downloadruby-5740d2ef52c6d46a1ebfae55f9ccd3230e4b9b1c.tar.gz
ruby-5740d2ef52c6d46a1ebfae55f9ccd3230e4b9b1c.tar.xz
ruby-5740d2ef52c6d46a1ebfae55f9ccd3230e4b9b1c.zip
* encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
* include/ruby/encoding.h: follow the renaming. * re.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
-rw-r--r--include/ruby/encoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index dd30e66df..4816e80fd 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -79,7 +79,7 @@ int rb_enc_precise_mbclen(const char *p, const char *e, rb_encoding *enc);
#define MBCLEN_NEEDMORE(ret) ONIGENC_MBCLEN_NEEDMORE(ret)
/* -> 0x00..0x7f, -1 */
-int rb_enc_get_ascii(const char *p, const char *e, int *len, rb_encoding *enc);
+int rb_enc_ascget(const char *p, const char *e, int *len, rb_encoding *enc);
/* code,encoding -> codelen */
int rb_enc_codelen(int, rb_encoding*);