I used a macro to simplify C struct FFI declaration. Everything is ok but not when the struct contains a function pointer when I try to print it with debug trait.
Having the function pointer to be
extern "stdcall" cause the following error:
But if I removed the calling convention, no more error:
This is very annoying when you do a lot of C FFI and I can't find any rfc for this. Does anybody is up-to-date concerning the progress?