[cl-opengl-devel] Extension functions re-defining themselves

Luís Oliveira luismbo at gmail.com
Sat Mar 17 10:01:49 UTC 2012


On Fri, Mar 16, 2012 at 9:39 PM, Jocelyn Fréchot
<jocelyn_frechot at yahoo.fr> wrote:
> I’d like to report the folling issue I bumped into: in
> the cl-opengl-bindings package, extension functions defined with
> defglextfun will re-define themselves the first time they are called.
> This is somewhat an unexpected and potentially undesirable behavior:
> if you store one of those function objects before calling it, it will
> compile a new object every time it is funcalled.

At the end of gl/bindings.lisp there's an alternative implementation
of DEFGLEXTFUN that doesn't call compile or redefine anything. Does
that work better for you?

-- 
Luís Oliveira
http://r42.eu/~luis/




More information about the cl-opengl-devel mailing list