Skip to content

[fix] render object-like and empty macros correctly - #46

Open
barroit wants to merge 1 commit into
return42:masterfrom
barroit:master
Open

barroit wants to merge 1 commit into
return42:masterfrom
barroit:master

Conversation

@barroit

@barroit barroit commented Nov 11, 2026

Copy link
Copy Markdown

Previously, object-like macros were rendered with trailing parentheses, and empty function-like macros were rendered with a synthetic void parameter. Both resulted in misleading documentation.

This PR preserves the distinction between object-like and function-like macros and avoids generating synthetic void parameters for empty function-like macros.

Previously, object-like macros were rendered with trailing parentheses,
and empty function-like macros were rendered with a synthetic void
parameter. Both resulted in misleading documentation.

This commit preserves the distinction between object-like and
function-like macros and avoids generating synthetic void parameters
for empty function-like macros.

Signed-off-by: Jiamu Sun <39@barroit.sh>
@return42

Copy link
Copy Markdown
Owner

Sorry, not sure I can reproduce the issue .. can you give us an (full) example.

BTW: do not touch files not related to the issue described in the commit message (ordering imports is out of the topic).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants