
15 Jan
2006
15 Jan
'06
9:32 a.m.
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