]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/pixel-formats/pixel-formats.factor
specialized-arrays: performed some cleanup.
[factor.git] / basis / ui / pixel-formats / pixel-formats.factor
index abc857c5667d358b091a2a22715f83a06b3df0c0..c0a645629b5be24a275101c231e4dc072708e4bb 100644 (file)
@@ -1,6 +1,6 @@
-USING: alien.c-types accessors assocs classes destructors
-functors kernel lexer math parser sequences specialized-arrays
-ui.backend words ;
+USING: alien.c-types alien.data accessors assocs classes
+destructors functors kernel lexer math parser sequences
+specialized-arrays ui.backend words ;
 SPECIALIZED-ARRAY: int
 IN: ui.pixel-formats
 
@@ -82,7 +82,7 @@ M: pixel-format-attribute >PFA
     [ drop { } ] if* ;
 
 : >PFA-int-array ( attribute -- int-array )
-    [ >PFA ] map concat PERM prepend 0 suffix >int-array ;
+    [ >PFA ] map concat PERM prepend 0 suffix int >c-array ;
 
 ;FUNCTOR