Skip to content
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

Fix warnings and clean up public API headers #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

drobilla
Copy link
Contributor

Fixes various warnings that the public API headers can trigger in client code, and does some tidying up along the way.

Shouldn't be any non-superficial changes.

I chose the most common one here, although the indentation is a bit odd.
The previous style(s) used in most places here violates the C standard, and in
practice can trigger -Wreserved-id-macro in clang for client code.  So, switch
to a conventional style that doesn't trigger warnings (and is supported by
tools like clang-tidy).
Collectively, these trigger warnings in both Doxygen and
clang (-Wdocumentation-unknown-command).  Weirdly, @p in doxygen doesn't do
anything but print in a fixed-width font anyway, so just use Markdown quotes to
replace it which has the same effect (and reads nicer in the source).  The use
of @param like @p was invalid, so do the same to those.
This fixes a Doxygen warning where a (seemingly) non-existent parameter was
documented.
@drobilla
Copy link
Contributor Author

@falkTX Going over my open tickets/PRs, this one seems relatively uncontroversial. It'd be nice to at least get the warning fixes in there; thoughts?

@falkTX
Copy link
Member

falkTX commented Jan 22, 2023

yeah I need to start merging jack stuff and do releases, which for the headers needs to be done on both jack1 and jack2 side so the eventual headers repo reusage does not become a big deal.
I am in the middle of moving once again, back to berlin, will take care of jack things once things are a bit settled on my side.

@drobilla
Copy link
Contributor Author

👍 no worries/rush. Just doing some new year tidying up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants