From 5740d2ef52c6d46a1ebfae55f9ccd3230e4b9b1c Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 11 Dec 2007 07:39:16 +0000 Subject: * 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 --- include/ruby/encoding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby/encoding.h') 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*); -- cgit