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

Add support for declarations of variables of "function pointer" type #4

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

chrhansk
Copy link
Contributor

@chrhansk chrhansk commented Nov 9, 2024

This should add support for cdef statements like

cdef const int (*pfunc_add)(const char*, int)

and brings the number of errors down to 145. I am a bit uncertain regarding the usage of the "field" function. Is this as intended in the "c_function_pointer_name" rule?

@chrhansk chrhansk force-pushed the feature-function-pointers branch from 0c2dc80 to 54a59f9 Compare November 10, 2024 08:35
@b0o b0o merged commit ef535ad into b0o:master Nov 14, 2024
4 checks passed
@b0o
Copy link
Owner

b0o commented Nov 14, 2024

Thank you!

@chrhansk chrhansk deleted the feature-function-pointers branch November 28, 2024 22:59
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