wip try test that we see INFO events from the core

This commit is contained in:
holger krekel
2019-07-15 22:51:57 +02:00
parent 3e3403d3d7
commit 9ad4c9a6fe
5 changed files with 37 additions and 3 deletions

View File

@@ -95,6 +95,7 @@ macro_rules! info {
info!($ctx, $data1, $msg,)
};
($ctx:expr, $data1:expr, $msg:expr, $($args:expr),* $(,)?) => {{
println!("xxx");
let formatted = format!($msg, $($args),*);
let formatted_c = $crate::dc_tools::to_cstring(formatted);
$ctx.call_cb($crate::constants::Event::INFO, $data1 as uintptr_t,