You can use this to document the parameters: What are the best param documentation patterns for Zig? - #5 by squeek502
Additionally you can add a compile time check + @compileError
in the function body.
You can use this to document the parameters: What are the best param documentation patterns for Zig? - #5 by squeek502
Additionally you can add a compile time check + @compileError
in the function body.