alien.c-types: use (byte-array) instead of <byte-array> in out parameter constructors

db4
Slava Pestov 2009-11-05 01:08:58 -06:00
parent 47df580081
commit c6b0a91f34
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ M: long-long-type box-return ( c-type -- )
: define-out ( name -- )
[ "alien.c-types" constructor-word ]
[ dup c-setter '[ _ heap-size <byte-array> [ 0 @ ] keep ] ] bi
[ dup c-setter '[ _ heap-size (byte-array) [ 0 @ ] keep ] ] bi
(( value -- c-ptr )) define-inline ;
: define-primitive-type ( c-type name -- )