It seems that c2ffi doesn't save function-pointer signatures. I changed this to a void pointer in code (which isnt the correct type, but it works without changing the generated code, using casts)
I also reported this as issue, the correct fp-signatures by default are beneficial.
Maybe it would also be useful, if the default type is a function type (maybe (p (fn void (void))))
It seems that c2ffi doesn't save function-pointer signatures. I changed this to a void pointer in code (which isnt the correct type, but it works without changing the generated code, using casts) I also reported this as issue, the correct fp-signatures by default are beneficial. Maybe it would also be useful, if the default type is a function type (maybe
(p (fn void (void)))
)