Hey,
I'm trying to use a C library (libwayland) from ATS (still), and now I finally got everything working, but I'm getting a few warnings related to function pointers.
I got the following code
typedef
wl_registry_listener = $extype_struct "struct wl_registry_listener" of
{
global= (ptr, !wl_registry1, uint32, string, uint32) -<1> void,
global_remove= (ptr, !wl_registry1, uint32) -<1> void
}
However it complains about incompatible pointer types, as ATS seems to use `void *` for the ptr, the registry and the string.
Is there any way I can get rid of this warning or do I just have to live with it?
Thanks in advance!