1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 {
            crate::ffi::gst_validate_report_action(
                self.to_glib_none().0,
                action.to_glib_none().0,
                issue_id.into_glib(),
                message.to_glib_none().0,
            );
        }
    }
}