Proposals to solve this bug:
Proposal 1.
Adding a keyword argument to pointer->procedure, if set to true, the
generated wrapper will check 'errno' immediately after ffi_call and
return the errno as second value.
the proposed pointer->procedure maybe like this:
pointer->procedure return_type func
On Tue, Jan 5, 2016 at 3:14 AM, Nala Ginrut wrote:
> Hi Mark!
> Thanks for all the advices.
>
> Here's the new patch according to your advices.
> Include:
> 1. Added new procedure pointer->procedure-with-errno with
> #:return-errno?
>
> Question: Should we make #:return-errno? true in default? Thi