(input: TokenStream)
| 76 | /// A proc macro used to register a node. `node_register!("NodeType", NodeType)` |
| 77 | #[proc_macro] |
| 78 | pub fn node_register(input: TokenStream) -> TokenStream { |
| 79 | let input = parse_macro_input!(input as node::NodeDefine); |
| 80 | node::registry_expand(input).into() |
| 81 | } |
| 82 | |
| 83 | /// A proc macro used to register a resource. `resource_register!("ResourceType", ResourceType)` |
| 84 | #[proc_macro] |
nothing calls this directly
no test coverage detected