Improve type inference for struct returns

db4
Slava Pestov 2009-02-12 09:20:32 -06:00
parent cf9e7d1e75
commit 2c88d339d0
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
USING: accessors arrays assocs generic hashtables kernel kernel.private
math namespaces parser sequences strings words libc fry
alien.c-types alien.structs.fields cpu.architecture math.order
quotations ;
quotations byte-arrays ;
IN: alien.structs
TUPLE: struct-type
@ -17,7 +17,7 @@ fields
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>> ;