Hi Matt,
Thank you!
So the following works:
(let () (defconstant +xy-plane+ (ffi:c-inline () () :pointer-void "(void *)
&ON_xy_plane" :one-liner t)))
Here - just for reference - a link to the file contrib/sockets/sockets.lisp:
http://sourceforge.net/p/ecls/ecl/ci/master/tree/contrib/sockets/s
On Thu, 11 Jul 2013 20:26:11 +0900
Dietrich Bollmann wrote:
> I want to wrap a pointer to a C++ constant into a lisp constant.
>
> The following
>
> (defconstant +xy-plane+
> (ffi:c-inline () () :pointer-void "(void *) &ON_xy_plane" :one-liner t))
>
> results in this error:
[...]
>
> Bu