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

Feature request: pull full spec from header file #199

Open
dev-zero opened this issue Nov 27, 2020 · 0 comments
Open

Feature request: pull full spec from header file #199

dev-zero opened this issue Nov 27, 2020 · 0 comments

Comments

@dev-zero
Copy link

One of the problems we encountered with handwritten INTERFACE declarations is the divergence of the C declaration and the Fortran declaration which doesn't get caught by any tool. In that example Shroud helps already by generating the INTERFACE part (and needed wrappers, like the string), but one still has to maintain the declaration in 2 different files.

It would be awesome if Shroud could pull the full declaration automatically from a C header file and one would simply have to name the function/struct to import. It seems that pycparser would be suitable for supporting C.

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

No branches or pull requests

1 participant