[ drop bad-byte-array-length ] unless
] keep <direct-struct-array> ; inline
+: struct-array-on ( struct length -- struct-array )
+ [ [ >c-ptr ] [ class ] bi ] dip swap <direct-struct-array> ; inline
+
: malloc-struct-array ( length c-type -- struct-array )
[ heap-size calloc ] 2keep <direct-struct-array> ; inline