summaryrefslogtreecommitdiff
path: root/enc/unicode.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-08 06:40:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-08 06:40:33 +0000
commitdca4de683847593efef8434192086bb98b79e946 (patch)
tree506115a472217faa963e0d0097e00aecfdbea363 /enc/unicode.c
parent4cc42da33ffba12b14498499e3fbc13fb4b43c4b (diff)
* regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressed
warnings. * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added encoding argument. * enc/utf{16,32}_{be,le}.c: added init functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/unicode.c')
-rw-r--r--enc/unicode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index 4642bbe5c1..126588f3fb 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -10781,7 +10781,8 @@ onigenc_unicode_ctype_code_range(int ctype, const OnigCodePoint* ranges[])
extern int
onigenc_utf16_32_get_ctype_code_range(OnigCtype ctype, OnigCodePoint* sb_out,
- const OnigCodePoint* ranges[])
+ const OnigCodePoint* ranges[],
+ struct OnigEncodingTypeST* enc ARG_UNUSED)
{
*sb_out = 0x00;
return onigenc_unicode_ctype_code_range(ctype, ranges);