tools.deploy: fix test 11
parent
0686a7a65c
commit
beab46517e
|
@ -202,7 +202,7 @@ M: struct-c-type c-struct? drop t ;
|
||||||
[ type>> c-type-align ] [ max ] map-reduce ;
|
[ type>> c-type-align ] [ max ] map-reduce ;
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
M: struct byte-length class "c-type" word-prop size>> ; foldable
|
M: struct byte-length class "struct-size" word-prop ; foldable
|
||||||
|
|
||||||
! class definition
|
! class definition
|
||||||
|
|
||||||
|
@ -253,6 +253,7 @@ M: struct binary-zero?
|
||||||
|
|
||||||
c-type class typedef
|
c-type class typedef
|
||||||
class slot-specs define-accessors
|
class slot-specs define-accessors
|
||||||
|
class size "struct-size" set-word-prop
|
||||||
class dup make-struct-prototype "prototype" set-word-prop
|
class dup make-struct-prototype "prototype" set-word-prop
|
||||||
class (struct-methods) ; inline
|
class (struct-methods) ; inline
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
|
@ -198,7 +198,7 @@ IN: tools.deploy.shaker
|
||||||
] when
|
] when
|
||||||
|
|
||||||
deploy-c-types? get [
|
deploy-c-types? get [
|
||||||
{ "c-type" "struct-slots" "struct-size" "struct-align" } %
|
{ "c-type" "struct-slots" "struct-align" } %
|
||||||
] unless
|
] unless
|
||||||
] { } make ;
|
] { } make ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue