Hi,

I have not found examples of this in documentation
or hackage packages: how can I deal with funcions
returning not pointers to structs but structs
thenselves?

struct example {...

example function_name (...

My intuition said I could try a data declaration
that is a properly done instance of Storable, and
then use that.

data Example = ...

instance Storable Example where ...

But it seems I was wrong.

Do you have any tips on how to proceed?

Thanks,
Maurício

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to