Skip to main content

ic_memory_key

Macro ic_memory_key 

Source
macro_rules! ic_memory_key {
    (authority = $authority:literal, key = $stable_key:literal, ty = $label:path, id = $id:expr $(,)?) => { ... };
    (authority = $authority:literal, key = $stable_key:literal, label = $label:literal, id = $id:expr $(,)?) => { ... };
}
Expand description

Declare and open a committed MemoryManager slot by stable key.

The macro registers declaration metadata during static initialization and returns the committed default-runtime memory handle at expression use time.