mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* transcode_data.h: return output functions ssize_t.
* transcode.c (transcode_restartable0): don't need to cast the result of output functions. * enc/trans/newline.trans: follow the type change. * enc/trans/escape.trans: ditto. * enc/trans/utf_16_32.trans: ditto. * enc/trans/iso2022.trans: ditto. * enc/trans/japanese.trans: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a3c8c0adec
								
							
						
					
					
						commit
						c767be3039
					
				
					 8 changed files with 44 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,7 @@ escape_xml_attr_quote_init(void *statep)
 | 
			
		|||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
static ssize_t
 | 
			
		||||
fun_so_escape_xml_attr_quote(void *statep, const unsigned char *s, size_t l, unsigned char *o, size_t osize)
 | 
			
		||||
{
 | 
			
		||||
    unsigned char *sp = statep;
 | 
			
		||||
| 
						 | 
				
			
			@ -56,7 +56,7 @@ fun_so_escape_xml_attr_quote(void *statep, const unsigned char *s, size_t l, uns
 | 
			
		|||
    return n;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
static ssize_t
 | 
			
		||||
escape_xml_attr_quote_finish(void *statep, unsigned char *o, size_t osize)
 | 
			
		||||
{
 | 
			
		||||
    unsigned char *sp = statep;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue