jextract does not handle function pointer return type properly.
Example:
void (*signal(int sig, void (*func)(int)))(int);
Two problems:
* Functional interface class is not generated for function pointer return type
(while function pointer argument types are handled fine)
* javadoc snippet comment for functions returning function pointer types is wrong. It is not a valid C declaration.
Example:
void (*signal(int sig, void (*func)(int)))(int);
Two problems:
* Functional interface class is not generated for function pointer return type
(while function pointer argument types are handled fine)
* javadoc snippet comment for functions returning function pointer types is wrong. It is not a valid C declaration.