]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/classes/struct/struct.factor
specialized-arrays: performed some cleanup.
[factor.git] / basis / classes / struct / struct.factor
index c00746865b1d41f41f8bc8a27c85ece6cfc830c8..6e75af874ff441ca2c4ba6dabd55ee43a85817de 100644 (file)
@@ -64,7 +64,7 @@ M: struct equal?
 
 M: struct hashcode*
     binary-object over
-    [ <direct-uchar-array> hashcode* ] [ 3drop 0 ] if ; inline
+    [ uchar <c-direct-array> hashcode* ] [ 3drop 0 ] if ; inline
 
 : struct-prototype ( class -- prototype ) "prototype" word-prop ; foldable
 
@@ -244,7 +244,7 @@ M: struct-bit-slot-spec compute-slot-offset
 PRIVATE>
 
 M: struct byte-length class "struct-size" word-prop ; foldable
-M: struct binary-zero? binary-object <direct-uchar-array> [ 0 = ] all? ; inline
+M: struct binary-zero? binary-object uchar <c-direct-array> [ 0 = ] all? ; inline
 
 ! class definition