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

Nested anonymous record #232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions hs-bindgen/examples/nested_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,20 @@ struct bar {
struct foo foo1;
struct foo foo2;
};

struct ex3 {
struct {
int ex3_a;
char ex3_b;
};
float ex3_c;
};

struct ex4 {
struct ex4_b {
int ex3_a;
char ex3_b;
struct ex4_b *recur;
};
float ex3_c;
};
Loading