![](https://secure.gravatar.com/avatar/92611e57f3b6e4af715c11828813b3b5.jpg?s=120&d=mm&r=g)
18 Sep
2007
18 Sep
'07
10:52 a.m.
Dear developers, can closures be used as callbacks, i.e. will the following kind of code work? (let ((ptr nil)) (let ((a 3)) (defcallback add-a :int ((b :int)) (+ a b)) (setq ptr (callback add-a))) (c-function ptr)) Best regards Bruno Daniel