From 7e6d031cc8d92c05a9d0de1065e7a2a378147f5f Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 13 Sep 2011 15:42:59 -0500 Subject: [PATCH] Fix string docs. --- core/alien/strings/strings-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/alien/strings/strings-docs.factor b/core/alien/strings/strings-docs.factor index 388b9842db..335ab73328 100644 --- a/core/alien/strings/strings-docs.factor +++ b/core/alien/strings/strings-docs.factor @@ -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." } ;