Dynamic callback defined in mobject, works for chebyshev
The class 'callback-included has been simplified by replacing several obsolete slots with 'callbacks and 'callback-dynamic. The :callbacks static information is saved to a hash table so that it may be retrieved when the defmfun is expanded. The function make-cbstruct-object to make the callback structure as an &aux variable in reinitialize-instance :after form expanded in defmobject is now a form expansion executed at macroexpand time. The argument :callback-object has been added to defmfun; this will result in the binding of the dynfn dynamic variable on expansion. The callback arguments for chebyshev definitions have been updated and the example works.
Showing
- chebyshev.lisp 4 additions, 10 deletionschebyshev.lisp
- gsll.asd 3 additions, 3 deletionsgsll.asd
- init/callback-included.lisp 72 additions, 37 deletionsinit/callback-included.lisp
- init/callback.lisp 36 additions, 22 deletionsinit/callback.lisp
- init/defmfun-single.lisp 11 additions, 8 deletionsinit/defmfun-single.lisp
- init/defmfun.lisp 22 additions, 13 deletionsinit/defmfun.lisp
- init/forms.lisp 9 additions, 1 deletioninit/forms.lisp
- init/mobject.lisp 18 additions, 39 deletionsinit/mobject.lisp
Loading
Please register or sign in to comment