From 8956ee0cc55a41d4a880fcefde29a2d4cccbe7a0 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 3 Dec 2008 12:06:16 -0600 Subject: [PATCH] Fix struct-arrays help lint --- basis/struct-arrays/struct-arrays-docs.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/struct-arrays/struct-arrays-docs.factor b/basis/struct-arrays/struct-arrays-docs.factor index 4a198e723c..0a627f7538 100644 --- a/basis/struct-arrays/struct-arrays-docs.factor +++ b/basis/struct-arrays/struct-arrays-docs.factor @@ -7,11 +7,11 @@ $nl "The " { $slot "underlying" } " slot holds a " { $link c-ptr } " with the raw data. This pointer can be passed to C functions." } ; HELP: -{ $values { "length" integer } { "c-type" string } } +{ $values { "length" integer } { "c-type" string } { "struct-array" struct-array } } { $description "Creates a new array for holding values of the specified C type." } ; HELP: -{ $values { "alien" c-ptr } { "length" integer } { "c-type" string } } +{ $values { "alien" c-ptr } { "length" integer } { "c-type" string } { "struct-array" struct-array } } { $description "Creates a new array for holding values of the specified C type, backed by the memory at " { $snippet "alien" } "." } ; ARTICLE: "struct-arrays" "C struct and union arrays"