Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. | David Lechner | 2022-07-18 |
This adds new compile-time infrastructure to parse source code files for `MP_REGISTER_ROOT_POINTER()` and generates a new `root_pointers.h` header file containing the collected declarations. This works the same as the existing `MP_REGISTER_MODULE()` feature. Signed-off-by: David Lechner <david@pybricks.com> |