> On Dec 10, 2017, at 11:21 AM, pelzflorian (Florian Pelz) 
> <pelzflor...@pelzflorian.de> wrote:
>>    (fh-object-set! eh-struct 'error error-p)

I was able to duplicate getting 0.  The problem was the argument `error-p'.
(The bytestructures i/f seems to be silent here about he incorrect argument.)
   
Please try instead the following:

      (fh-object-set! eh-struct 'error (ffi:pointer-address error-p))

Matt


Reply via email to