Hi,

I was playing around with libbz2 with bindings generated
 from the cffi backend of SWIG, which latest cvs 
works very nicely now. Basic reading, writing has been a joy.

 The only thing is that cffi gave me an error 
(division-by-zero) when evaluating the following defcstruct:

(defcstruct bz_stream
        (next_in :char)
        (avail_in :unsigned-int)
        (total_in_lo32 :unsigned-int)
        (total_in_hi32 :unsigned-int)
        (next_out :char)
        (avail_out :unsigned-int)
        (total_out_lo32 :unsigned-int)
        (total_out_hi32 :unsigned-int)
        (state :void)
        (bzalloc :void)
        (bzfree :void)
        (opaque :void))

Sorry, I dont think, I can really be helpful for solving this.

Cheers,
     Kilian Sprotte



_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to