Improve type inference for struct returns
							parent
							
								
									cf9e7d1e75
								
							
						
					
					
						commit
						2c88d339d0
					
				| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
USING: accessors arrays assocs generic hashtables kernel kernel.private
 | 
					USING: accessors arrays assocs generic hashtables kernel kernel.private
 | 
				
			||||||
math namespaces parser sequences strings words libc fry
 | 
					math namespaces parser sequences strings words libc fry
 | 
				
			||||||
alien.c-types alien.structs.fields cpu.architecture math.order
 | 
					alien.c-types alien.structs.fields cpu.architecture math.order
 | 
				
			||||||
quotations ;
 | 
					quotations byte-arrays ;
 | 
				
			||||||
IN: alien.structs
 | 
					IN: alien.structs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
TUPLE: struct-type
 | 
					TUPLE: struct-type
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,7 @@ fields
 | 
				
			||||||
 | 
					
 | 
				
			||||||
M: struct-type heap-size size>> ;
 | 
					M: struct-type heap-size size>> ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
M: struct-type c-type-class drop object ;
 | 
					M: struct-type c-type-class drop byte-array ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
M: struct-type c-type-align align>> ;
 | 
					M: struct-type c-type-align align>> ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue