On 27/06/2009 14:35, Matthias Kilian wrote: > On Fri, Jun 26, 2009 at 09:11:08AM +0100, Simon Marlow wrote: >> So can you try making a C wrapper? > > Is the attacheched patch the correct way to do it? Yes, looks fine. That fixes the problem for you? Cheers, Simon