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

Hawkmoth process signature proof-of-concept #135

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Jan 30, 2023

I looked at #92 when going through the issues, and did a quick hack towards a proof-of-concept hawkmoth-process-signature event.

I'm not pursuing this for the next release, but it's something to consider in the future. Looks like this could be fairly simple. You can pretty nicely convert _Bool to bool if you like, with no hardcoded stuff in the parser. Maybe users want to annotate other stuff (where the clang cursor might be useful too).

Food for though, @BrunoMSantos

Proof of concept with no regard to interface.
'make html' demonstrates the bools show up as _Bool in documentation.
A quick hack to replace _Bool with bool in the Sphinx directive
signatures.
@jnikula jnikula marked this pull request as draft January 30, 2023 21:21
@BrunoMSantos
Copy link
Collaborator

Yup, this would settle one of the points where we disagreed: extensibility. Best of both worlds :)

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.

None yet

2 participants