macro_rules! static_branch_unlikely {
($key:path, $keytyp:ty, $field:ident) => { ... };
}
Expand description
Branch based on a static key.
Takes three arguments:
key
- the path to the static variable containing thestatic_key
.keytyp
- the type ofkey
.field
- the name of the field ofkey
that contains thestatic_key
.
§Safety
The macro must be used with a real static key defined by C.