diff --git a/gstreamer-validate/src/functions.rs b/gstreamer-validate/src/functions.rs index 28db219d2..8c907605e 100644 --- a/gstreamer-validate/src/functions.rs +++ b/gstreamer-validate/src/functions.rs @@ -28,6 +28,17 @@ pub fn setup_test_file(test_file: &str, use_fakesinks: bool) -> gst::Structure { } } +#[doc(alias = "gst_validate_print_action_types")] +pub fn print_action_types(action_types: Vec<&str>) { + assert_initialized_main_thread!(); + unsafe { + ffi::gst_validate_print_action_types( + action_types.to_glib_none().0, + action_types.len() as i32, + ); + } +} + #[cfg(test)] mod tests { #[test] diff --git a/gstreamer-validate/src/reporter.rs b/gstreamer-validate/src/reporter.rs index 41eaf4c9d..9316be85d 100644 --- a/gstreamer-validate/src/reporter.rs +++ b/gstreamer-validate/src/reporter.rs @@ -3,6 +3,7 @@ use glib::translate::*; use crate::action::Action; impl crate::Reporter { + #[doc(alias = "gst_validate_report_action")] pub fn report_action(&self, action: &Action, issue_id: crate::IssueId, message: &str) { unsafe { ffi::gst_validate_report_action(