tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.02k stars 48 forks source link

use voidpointer for function pointers #171

Closed porky11 closed 7 years ago

porky11 commented 7 years ago

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))))

porky11 commented 7 years ago

this is closed now, see #170