Support for functions NOT defined with function pointers
Submitted by mezen
Link to original bug (#744365)
Description
example:
from tcl.h (tcl 8.6) typedef void (Tcl_ThreadCreateProc) (ClientData clientData);
this vapi line
[CCode (cname = "Tcl_ThreadCreateProc", has_target = false)] public static void ThreadCreateProc (ClienData clientdata)
will assume that the function was defines as typedef void (Tcl_ThreadCreateProc*) (ClientData clientData);
This delegate shows issues when put inside a struct, as a member (structs do not allow functions but function pointers...)
valac does not complain about this, but the c code wont compile.
Version: 0.26.x