macro_rules! send {
($sender:expr, $action:expr) => { ... };
}
Expand description
Send an event through a glib::Sender
-
Before:
Example:
sender.send(Action::DoThing).expect("Failed to send DoThing through the glib channel?");
-
After:
Example:
send!(self.sender, Action::DoThing);