• Olivier Aubert's avatar
    python-ctypes: define a .value() method for enums in java code · fb1a1c12
    Olivier Aubert authored
    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.
    fb1a1c12
generate.py 33.9 KB