[vlc-devel] [PATCH 03/14] input: name input event structs
Rémi Denis-Courmont
remi at remlab.net
Thu Aug 16 20:54:08 CEST 2018
Le torstaina 16. elokuuta 2018, 17.02.00 EEST Romain Vimont a écrit :
> Some input event structs contain enums, whose values can be accessed
> globally in C, but need a qualified access in C++. Since these enums are
> defined inside unamed union and structs, there was no way to use them
> from C++ code.
>
> To avoid the problem, declare named structs for every event type
> requiring more than one field.
I would have thought more natural to take the enums out.
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list