[cl-opengl-devel] gl-array count
Chris Bagley
chris.bagley at gmail.com
Thu Jul 19 12:39:36 UTC 2012
I've been slowly getting my head round the gl-array macros and there is one
last thing that is confusing me
In this struct, size is set to the type of unsigned byte...why? It seem
that this stores the length of the foreign array which, as far as I can
tell from CFFI doco, is an integer.
(defstruct (gl-array (:copier nil))
"Pointer to C array with size and type information attached."
(pointer (null-pointer))
(size 0 :type unsigned-byte)
(type nil :type symbol))
There's probably something I'm missing and if anyone can explain that
would be great!
Thanks folks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-opengl-devel/attachments/20120719/64eaca83/attachment.html>
More information about the cl-opengl-devel
mailing list