Hello RIOT developers,
please be so kind as to name the types you are using in RIOT APIs as callbacks. This makes them tangible to downstream APIs (such as the Rust bindings) if they want to stay flexible as to the type’s signature.
This will make my life much easier when trying to stay compatible with non-breaking changes (such as switching between returning an int and a bool) without pinning which exact version of RIOT my code works with.
It is my impression that this practice is widespread in RIOT anyway, please keep it like that.
Thanks for your consideration.
Technical note for those curious about the mechanism I'm using
If there is a callback type, I can build wrappers that return just that type as extracted using a slightly weird trick; that only works as long as I get my hands on the callback type’s name, which is TTBOMK impossible if that type is only defined anonymously in a struct member).