Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
459 stars 101 forks source link

Make use of Zigs doc comments #116

Closed ZackeryRSmith closed 3 days ago

ZackeryRSmith commented 3 days ago

This is a bare bones implementation of making use of Raylibs inline comments for documenting functions.

This implementation is missing some important things. For example fields of structs (like Vector2's) don't get doc comments as I cannot understand the python file and where it does this. Some of the comments have type names lying in them or function names which do not get ziggified. Even though this is the case I don't think this PR is harmful to merge.

ZackeryRSmith commented 3 days ago

Now has doc comments on member function (I did them all by hand :sob: there may be some mistakes), along with implementing your requested changes. Tested all examples and everything seems to be in order!

If you find any issues it goes without saying but let me know!

Not-Nik commented 3 days ago

oh god, I broke it

Not-Nik commented 3 days ago

Thanks for the improvement!