<div dir="ltr">Hi,<div><br></div><div style>How can I wrap and return the constant pointer </div><div style><br></div><div style> const CRhinoCommandContext *context;<br></div><div style><br></div><div style>with c-inline?</div>
<div style><br></div><div style>Using something like<br></div><div style><br></div><div style> (ffi:c-inline () () :pointer-void "context" :one-liner t)<br></div><div style><br></div><div style>results in the error</div>
<div style><br></div><div style><div> error C2664: 'ecl_make_foreign_data' : cannot convert parameter 3 from 'const CRhinoCommandContext *' to 'void *'</div><div> Conversion loses qualifiers</div>
<div><br></div><div style>But I couldn't find something like :const-pointer-void...</div><div style><br></div><div style>How can I solve this problem?</div><div style><br></div><div style>Thanks,</div><div style><br></div>
<div style>Dietrich</div><div style><br></div></div></div>