Fix struct-arrays help lint
parent
4c6af1cc9f
commit
8956ee0cc5
|
@ -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: <struct-array>
|
||||
{ $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: <direct-struct-array>
|
||||
{ $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"
|
||||
|
|
Loading…
Reference in New Issue