macro_rules! declare_shared_registry { () => { ... }; ($registry_name:ident, $object_type:ty, $($arg:ty),*) => { ... }; }