gstreamer_validate/
reporter.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use glib::translate::*;
4
5use crate::action::Action;
6
7impl crate::Reporter {
8    #[doc(alias = "gst_validate_report_action")]
9    pub fn report_action(&self, action: &Action, issue_id: crate::IssueId, message: &str) {
10        unsafe {
11            crate::ffi::gst_validate_report_action(
12                self.to_glib_none().0,
13                action.to_glib_none().0,
14                issue_id.into_glib(),
15                message.to_glib_none().0,
16            );
17        }
18    }
19}