webgpu-native / webgpu-headers

https://webgpu-native.github.io/webgpu-headers/
BSD 3-Clause "New" or "Revised" License
370 stars 43 forks source link

Avoid duplicate documentation for proc function pointers #315

Closed kainino0x closed 1 week ago

kainino0x commented 2 months ago

Currently the C header generator will output the same docs twice for methods: once for the function declaration, once for the proc function pointer type definition.

We could use Doxygen's @copydoc to avoid this in the source, but it would still be duplicated in the generated documentation.

Not sure if it would be better to do this, or to just link to the non-proc version.