Macro malloc_bind::define_malloc_lazy_static [] [src]

macro_rules! define_malloc_lazy_static {
    ($alloc_ty:ty, $alloc_new:expr, $layout_finder_ty:ty, $layout_finder_new:expr) => { ... };
}

Define extern "C" functions for the C allocation API with non-constant initializers.

define_malloc_lazy_static is like define_malloc, except there is no requirement that the initialization expressions must be constant. Instead, lazy_static is used to construct the global Malloc instance.