We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Function pointer signatures don't get displayed in the output. This may be a bug, it doesn*t seem difficult to implement.
The text was updated successfully, but these errors were encountered:
I'll take a look.
Sorry, something went wrong.
maybe I should add an example:
//file test.h void n(float(*test)(int));
I call c2ffi test.h => output:
c2ffi test.h
[ { "tag": "function", "name": "n", "ns": 0, "location": "test.h:1:6", "variadic": false, "inline": false, "storage-class": "none", "parameters": [{ "tag": "parameter", "name": "test", "type": { "tag": ":function-pointer" } }], "return-type": { "tag": ":void" } } ]
I would expect instead of { "tag": ":function-pointer" } :
{ "tag": ":function-pointer" }
{ "tag": "function-pointer", "variadic": false, "parameters": [{ "tag": "parameter", "type": { "tag": ":int" } }], "return-type": { "tag": ":float" } }
No branches or pull requests
Function pointer signatures don't get displayed in the output. This may be a bug, it doesn*t seem difficult to implement.
The text was updated successfully, but these errors were encountered: