[Ecls-list] How to wrap and return constant pointers with c-inline?
dietrich at formgames.org
Sun Jul 7 11:52:25 UTC 2013
How can I wrap and return the constant pointer
const CRhinoCommandContext *context;
Using something like
(ffi:c-inline () () :pointer-void "context" :one-liner t)
results in the error
error C2664: 'ecl_make_foreign_data' : cannot convert parameter 3 from
'const CRhinoCommandContext *' to 'void *'
Conversion loses qualifiers
But I couldn't find something like :const-pointer-void...
How can I solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel