]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/classes/struct/struct-docs.factor
specialized-arrays: performed some cleanup.
[factor.git] / basis / classes / struct / struct-docs.factor
index 13ac16a7bbbbecbe4640430f88499e18b4bec2c3..02f7aee2ae57e1974e861b03e6d036b547c90f57 100644 (file)
@@ -121,11 +121,11 @@ ARTICLE: "classes.struct.examples" "Struct class examples"
 { $code "test-struct <struct> ." }
 "Creating a new instance with slots initialized from the stack:"
 { $code
-    "USING: libc specialized-arrays ;"
+    "USING: libc specialized-arrays alien.data ;"
     "SPECIALIZED-ARRAY: char"
     ""
     "42"
-    "\"Hello, chicken.\" >char-array"
+    "\"Hello, chicken.\" char >c-array"
     "1024 malloc"
     "test-struct <struct-boa> ."
 } ;