mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* encoding.c (ENC_REGISTER): use &OnigEncoding*.
(ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8. (rb_enc_init): use ENC_REGISTER. * include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8): removed. * enc/*.c: remove use of &encoding_*; use enc argument instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d2a377d747
								
							
						
					
					
						commit
						edc61cf4c1
					
				
					 14 changed files with 58 additions and 67 deletions
				
			
		| 
						 | 
				
			
			@ -424,7 +424,7 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag,
 | 
			
		|||
  return onigenc_unicode_get_case_fold_codes_by_str(enc, flag, p, end, items);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
OnigEncodingDefine(utf8, UTF8) = {
 | 
			
		||||
OnigEncodingDefine(utf_8, UTF_8) = {
 | 
			
		||||
  mbc_enc_len,
 | 
			
		||||
  "UTF-8",     /* name */
 | 
			
		||||
  6,           /* max byte length */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue