mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
constify rb_encoding and OnigEncoding
* include/ruby/encoding.h: constify `rb_encoding` arguments. * include/ruby/oniguruma.h: constify `OnigEncoding` arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b16245145b
commit
046831094b
16 changed files with 161 additions and 154 deletions
|
@ -178,7 +178,7 @@ 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[],
|
||||
struct OnigEncodingTypeST* enc ARG_UNUSED)
|
||||
OnigEncoding enc ARG_UNUSED)
|
||||
{
|
||||
*sb_out = 0x00;
|
||||
return onigenc_unicode_ctype_code_range(ctype, ranges);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue