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

Support for C struct cyclic dependency #20

Open
Zubnix opened this issue Sep 4, 2017 · 1 comment
Open

Support for C struct cyclic dependency #20

Zubnix opened this issue Sep 4, 2017 · 1 comment

Comments

@Zubnix
Copy link

Zubnix commented Sep 4, 2017

Is there a way to support cyclic struct declerations? Normally in C you would eagerly declare the struct without a body to work around this. However when I try this, I get an already declared assertion error.

How do I work around this?

@unbornchikken
Copy link
Member

Using raw pointers could be the work around this. Could you provide an example code?

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