]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix string docs.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 13 Sep 2011 20:42:59 +0000 (15:42 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 13 Sep 2011 20:45:56 +0000 (15:45 -0500)
core/alien/strings/strings-docs.factor

index 388b9842db7f7a801ed4d4ce88e5d068dc19d9a3..335ab73328e69898d6a1b3c4ffd225bfdfecc2b3 100644 (file)
@@ -12,7 +12,7 @@ HELP: alien>string
 { $description "Reads a null-terminated C string from the specified address with the given encoding." } ;
 
 HELP: string>symbol
-{ $values { "str" string } { "alien" alien } }
+{ $values { "str/seq" { $or string sequence } } { "alien" alien } }
 { $description "Converts the string to a format which is a valid symbol name for the Factor VM's compiled code linker. By performing this conversion ahead of time, the image loader can run without allocating memory."
 $nl
 "On Windows CE, symbols are represented as UCS2 strings, and on all other platforms they are ASCII strings." } ;