heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Try and add the `@__doc__` back into the `@bp_enum` implementation #85

Open heyx3 opened 12 months ago

heyx3 commented 12 months ago

Currently, you can't add a doc-string to a B+ enum, because back when I first wrote it I absolutely could not figure out how to make it work.

Maybe now that I have much more experience with meta-programming, I can figure it out?

If we get it working, go back and add good doc-strings to all B+ enums. And I wonder if it's possible to insert doc-strings for individual values as well...