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 #117

Closed ZackeryRSmith closed 3 days ago

ZackeryRSmith commented 3 days ago

I find myself constantly jumping over to the cheatsheet primarily so I can see the helpful little comment shown. I would like to cut out this extra step, so the solution? Integrating those helpful comments into the bindings themselves. These comments are found in the header files and can be captured then slammed into the bindings.

The large python file is a bit tricky to understand, as such I have no clue on how to implement adding the comments onto the struct values and such. Regardless I have tried my hand at a simple implementation in the PR: #116. More info can be found there!

ZackeryRSmith commented 3 days ago

adding the comments onto the struct values and such

Ah. I see now there is a preludes folder. Let me work on my PR a bit more