Hi everybody !
I really want to document the native C module I'm developing right now, just like the rest of Godot's main API is documented.
I've noticed in godot_headers functions that are supposed achieve that, in particular:
- godot_nativescript_set_method_argument_information
- godot_nativescript_set_method_documentation
However they are not accessible from godot_gdnative_ext_nativescript_api_struct
which seems to be the only one exposed to the C API. Or at least, it's the only one explained in the little documentation/tutorials for godot native C libs so far. These functions would perfectly fit my desire to integrate in Godot a lib that is made to be used by others.
I deliberately avoid C++ API because it's much heavier and I don't like the idea of having a 50MB library just because I have to bundle all the godot-cpp static libraries (if you have a solution for this by the way I'm interested :))
So: What is the solution right now to document the methods I register through C API? Is it possible and how?
Thank you! <3
(NB: I'm posting this as a godot_headers
issue as well and will keep both sides updated)