[LV2] lv2_descriptor() considered harmful
David Robillard
d at drobilla.net
Thu Mar 15 10:38:34 PDT 2012
On Thu, 2012-03-15 at 13:31 -0400, David Robillard wrote:
[...]
> Standard C does not allow casting between function and data pointers.
>
> I am not sure how it impacts real world platforms.
Looks like the Windows equivalent of dlsym() returns a function pointer,
so it's actually impossible to do this correctly, i.e. be standard
compliant on all platforms.
Yay!
-dr
More information about the Devel
mailing list