Hi, some users are not very attentive when reading documentation and rely on examples so i just though that it would be useful to have an example of an array defined as a member of a c struct in the manual.
Ignas
diff -rN -u old-cffi/doc/cffi-manual.texinfo new-cffi/doc/cffi-manual.texinfo --- old-cffi/doc/cffi-manual.texinfo 2007-03-20 19:47:23.000000000 +0200 +++ new-cffi/doc/cffi-manual.texinfo 2007-03-20 19:47:23.000000000 +0200 @@ -2484,6 +2484,13 @@ @result{} 32 @end lisp [EMAIL PROTECTED] +;; @lispcmt{Using :count to define arrays inside of a struct.} + +(defcstruct video_tuner + (name :char :count 32)) [EMAIL PROTECTED] lisp + @subheading See Also @seealso{foreign-slot-pointer} @* @seealso{foreign-slot-value} @*
_______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel