python-ctypes: define a .value() method for enums in java code
ATM, java bindings use Enum.ordinal() to convert the enum name to its value. However, this approach is broken in the case of discontinuous enums such as libvlc_media_option_t. Java bindings maintainers should convert their code to use the enum.value() method.
Showing
Please register or sign in to comment