macro_rules! hc_print_th {
    ( $( $arg:tt )* ) => { ... };
}
Expand description

Similar to hc_print!(), that can be used from spawned threads to print to the active Hexchat window. Use hc_print() if printing from the main thread.

use hexchat_api::hc_print_th;
hc_print_th!(fmt, argv, ...);
hc_print_th!(arg);

Arguments

  • ctx=(network, channel) - Sets the context to print in.
  • fmt - The format string.
  • argv - The varibale length formatted arguments.