gir: Ignore VERSION constants

This commit is contained in:
Jordan Petridis 2018-10-30 14:42:25 +02:00 committed by Sebastian Dröge
parent b4127c7df9
commit f9ff027a64
6 changed files with 14 additions and 16 deletions

View file

@ -6,6 +6,13 @@ min_cfg_version = "1.0"
target_path = "gstreamer-sys"
work_mode = "sys"
ignore = [
"Gst.VERSION_MAJOR",
"Gst.VERSION_MINOR",
"Gst.VERSION_MICRO",
"Gst.VERSION_NANO",
]
external_libraries = [
"GLib",
"GObject",

View file

@ -6,6 +6,13 @@ min_cfg_version = "1.0"
target_path = "gstreamer-pbutils-sys"
work_mode = "sys"
ignore = [
"GstPbutils.PLUGINS_BASE_VERSION_MAJOR",
"GstPbutils.PLUGINS_BASE_VERSION_MINOR",
"GstPbutils.PLUGINS_BASE_VERSION_MICRO",
"GstPbutils.PLUGINS_BASE_VERSION_NANO"
]
external_libraries = [
"GLib",
"GObject",

View file

@ -69,10 +69,6 @@ pub const GST_ENCODING_CATEGORY_DEVICE: *const c_char = b"device\0" as *const u8
pub const GST_ENCODING_CATEGORY_FILE_EXTENSION: *const c_char = b"file-extension\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_ONLINE_SERVICE: *const c_char = b"online-service\0" as *const u8 as *const c_char;
pub const GST_ENCODING_CATEGORY_STORAGE_EDITING: *const c_char = b"storage-editing\0" as *const u8 as *const c_char;
pub const GST_PLUGINS_BASE_VERSION_MAJOR: c_int = 1;
pub const GST_PLUGINS_BASE_VERSION_MICRO: c_int = 2;
pub const GST_PLUGINS_BASE_VERSION_MINOR: c_int = 14;
pub const GST_PLUGINS_BASE_VERSION_NANO: c_int = 0;
// Flags
pub type GstDiscovererSerializeFlags = c_uint;

View file

@ -286,10 +286,6 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("GST_INSTALL_PLUGINS_STARTED_OK", "200"),
("GST_INSTALL_PLUGINS_SUCCESS", "0"),
("GST_INSTALL_PLUGINS_USER_ABORT", "4"),
("GST_PLUGINS_BASE_VERSION_MAJOR", "1"),
("GST_PLUGINS_BASE_VERSION_MICRO", "2"),
("GST_PLUGINS_BASE_VERSION_MINOR", "14"),
("GST_PLUGINS_BASE_VERSION_NANO", "0"),
];

View file

@ -588,10 +588,6 @@ pub const GST_VALUE_EQUAL: c_int = 0;
pub const GST_VALUE_GREATER_THAN: c_int = 1;
pub const GST_VALUE_LESS_THAN: c_int = -1;
pub const GST_VALUE_UNORDERED: c_int = 2;
pub const GST_VERSION_MAJOR: c_int = 1;
pub const GST_VERSION_MICRO: c_int = 1;
pub const GST_VERSION_MINOR: c_int = 14;
pub const GST_VERSION_NANO: c_int = 0;
// Flags
pub type GstAllocatorFlags = c_uint;

View file

@ -1115,10 +1115,6 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("GST_VALUE_GREATER_THAN", "1"),
("GST_VALUE_LESS_THAN", "-1"),
("GST_VALUE_UNORDERED", "2"),
("GST_VERSION_MAJOR", "1"),
("GST_VERSION_MICRO", "1"),
("GST_VERSION_MINOR", "14"),
("GST_VERSION_NANO", "0"),
];