Macro zircon_object::define_count_helper
source · [−]macro_rules! define_count_helper {
($class:ident) => { ... };
}
Expand description
Define a pair of kcounter (create, destroy),
and a helper struct CountHelper
which increases the counter on construction and drop.