Function nih_plug::util::permit_alloc
source · pub fn permit_alloc<T, F: FnOnce() -> T>(func: F) -> T
Available on not (debug-assertions enabled and crate feature
assert_process_allocs
).Expand description
Temporarily allow allocations within func
if NIH-plug was configured with the
assert_process_allocs
feature.