summaryrefslogtreecommitdiff
path: root/encoding.c
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
commit646f27b8220ead3cb68cfd8f6e9870d203c430e4 (patch)
tree9fa0d68c5c6a149ea2c2b1226d3e2b1688186d20 /encoding.c
parent7554dd13468b105faec11f5d8ffef4499381c59d (diff)
* encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
* include/ruby/encoding.h: follow the renaming. * re.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index 5949b17bfd..3f7a39b296 100644
--- a/encoding.c
+++ b/encoding.c
@@ -505,7 +505,7 @@ rb_enc_precise_mbclen(const char *p, const char *e, rb_encoding *enc)
return n;
}
-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)
{
int c, l;
if (e <= p)