macro_rules! ic_memory_declaration {
(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
Register a MemoryManager allocation declaration during static initialization.
The explicit authority is stable policy identity shared with the matching
range declaration. Internal ic-memory authority is unavailable to callers.
This macro only registers declaration metadata. It does not open stable memory. The bootstrap owner still has to collect/seal declarations, validate them against the ledger, commit the generation, and then open memory handles.