[vlc-devel] Callbacks in modules written in C++ have wrong linkage

Rémi Denis-Courmont remi at remlab.net
Mon Feb 22 22:59:50 CET 2016


Le 2016-02-22 23:31, Filip Roséen a écrit :
> The main reason I am doing cleanups such as this is because I am very
>> We do not require void pointers to be compatible with function
>> pointers. We only require that a function pointer can be reversibly
>> stored in a void pointer. In other words, we require that the
>> conversion from function pointer to void pointer be an injective
>> function.
>
> I was talking about the same thing, compatible in a “lossless
> conversion back and forth” kind of way.

Compatible types has a very specific meaning in C, which does not match 
this.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list