Add feature v3_00

2-bindgen
T. Okubo 2019-11-28 20:15:56 +09:00
parent b82a40571a
commit 48683a905f
2 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,7 @@ crate-type = ["rlib"]
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
libvlc-sys = { path = "libvlc-sys" } libvlc-sys = { path = "libvlc-sys" }
[features]
default = []
v3_00 = []

View File

@ -106,6 +106,7 @@ define_enum!(
Gamma = libvlc_video_adjust_option_t_libvlc_adjust_Gamma, Gamma = libvlc_video_adjust_option_t_libvlc_adjust_Gamma,
); );
#[cfg(feature = "v3_00")]
define_enum!( define_enum!(
ParseFlag, libvlc_media_parse_flag_t; ParseFlag, libvlc_media_parse_flag_t;
DoInteract = libvlc_media_parse_flag_t_libvlc_media_do_interact, DoInteract = libvlc_media_parse_flag_t_libvlc_media_do_interact,