You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best way to document mlua modules and exposed API?
For C code, I've been using doxygen style comments compatible with ldoc, using a script to generate some fake Lua with the comments and function names, then run ldoc on the generated file to generate the documentation. Is there a more Rust-ish way or better way to do that with mlua given that there is actual typing and such?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is the best way to document mlua modules and exposed API?
For C code, I've been using doxygen style comments compatible with ldoc, using a script to generate some fake Lua with the comments and function names, then run ldoc on the generated file to generate the documentation. Is there a more Rust-ish way or better way to do that with mlua given that there is actual typing and such?
Beta Was this translation helpful? Give feedback.
All reactions