Macro mc_sgx_alloc::allocator
source · macro_rules! allocator { ($name:ident) => { ... }; }
Expand description
Defines a global allocator for use in an SGX enclave.
This should only be used in one place in the enclave binary.
The macro takes one argument, the name of the static allocator object.
Example
mc_sgx_alloc::allocator!(ALLOCATOR_NAME);