Skip to content

Support use of opaque pointers #78

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

Closed
jonas opened this issue Jun 28, 2018 · 1 comment
Closed

Support use of opaque pointers #78

jonas opened this issue Jun 28, 2018 · 1 comment
Assignees
Labels
bindgen Binding generator bug Something isn't working
Milestone

Comments

@jonas
Copy link
Member

jonas commented Jun 28, 2018

Make sure the following code works:

struct point;
struct point *move(struct point *point, int x, int y);

struct point { int x; int y; };
@jonas
Copy link
Member Author

jonas commented Jun 29, 2018

This currently fails with a segfault. Probably due to the struct Type not being properly initialized.

@jonas jonas added bug Something isn't working bindgen Binding generator labels Jun 30, 2018
@jonas jonas changed the title Add test for use of opaque pointers Supoort use of opaque pointers Jun 30, 2018
@jonas jonas changed the title Supoort use of opaque pointers Support use of opaque pointers Jun 30, 2018
@jonas jonas added this to the 0.2 milestone Jul 1, 2018
@kornilova203 kornilova203 self-assigned this Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindgen Binding generator bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants