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

Handle forward declarations. #145

Open
phadej opened this issue Sep 4, 2024 · 0 comments
Open

Handle forward declarations. #145

phadej opened this issue Sep 4, 2024 · 0 comments

Comments

@phadej
Copy link
Collaborator

phadej commented Sep 4, 2024

struct foo;

struct foo {
  int a;
};

causes two Decls to be generated.

Note, the

struct bar;

should also work, as then pointers to struct bar are still usable types.

@edsko edsko added this to the 1: `Storable` instances milestone Sep 4, 2024
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

2 participants