On 22.02.2006, at 00:06, Luís Oliveira wrote:
What about something like this:
(defmacro defglfun (name rettype &body args)
`(defcfun ,name ,rettype ,@args))
Then a CLX backend would implement this macro (which would probably be
slightly more complicated, I'm sure). I have no idea if this makes
sense
as I've never touched CLX.
Again, if it does make sense, I volunteer to do the gruntwork. :-)
Yes, this is pretty much what I had in mind, but I'm not sure
if this is so important to change right now. I'd try to focus on
getting a releasable binding for OpenGL and GLU(T) with sane
semantics for CFFI first before making too many accommodations
for hypothetical features which may never get implemented
anyway. But feel free to do it if you're bored. :)
--
Oliver Markovic
_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel