fficxx
fficxx copied to clipboard
Unify C-side type to be `void*`
We use opaque struct for ordinary class and void*
for template class. After all, opaque struct is void*
with additional type safety in C. Since Haskell manages all the type safety, we had better unify all C interface data types to void*
to make generated code more readable.