-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add [in,out] hints to Doxygen parameter strings #492
Comments
That is not really cross platform so other compilers other than MSVC won't understand this. The documentation is pretty good in my opinion and I find that those annotations make it actually really hard to read. |
I can't argue about it not being "cross compiler", it definitely isn't. That said, I find the SAL gives instant additional information about a parameter (is it in, inout, out, etc) which not even the documentation gives at this time. The parameter disposition is a very nice thing to know. I'd say that if the C definitions themselves cannot be annotated due to cross platform concerns (which are valid) then it would be useful to see the parameter dispositions stated in the documentation. Just for the record, I don't find the presence of SAL makes the function definitions any harder or easier to read but, that's a moot point now. |
We use |
Didn't know Doxygen even support that! That would be way better than the MS defines, or even custom ones. |
As someone who is currently learning how to use Zydis, having the parameter dispositions documented would be helpful. I understand it's not a high priority thing but, for a new user, it would be helpful. If I manage to get really good at using Zydis, I might offer to do it. (please don't hold your breath) |
As someone who goes through Microsoft's header quite a lot I feel the same way about this. It's a lot of unnecessary clutter in most situations. In Zydis we also have quite restrictive maximum line length limitation that would get in the way as well. Doxygen solution seems way better. |
Closed due to no interest |
Hello,
It would be useful, particularly to a Zydis newcomer, to have the function parameters be annotated using MS SAL conventions, e.g, in, inout, etc
Initially the annotations could be limited to exported functions only since those are the only ones most programmers (Zydis users) will use.
The text was updated successfully, but these errors were encountered: