Skip to content

Skip methods that take/return incomplete structs #247

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
liamappelbe opened this issue Jun 29, 2022 · 0 comments · Fixed by dart-archive/ffigen#412
Closed

Skip methods that take/return incomplete structs #247

liamappelbe opened this issue Jun 29, 2022 · 0 comments · Fixed by dart-archive/ffigen#412
Assignees
Labels
lang-objective_c Related to Objective C support package:ffigen

Comments

@liamappelbe
Copy link
Contributor

This is a check that parseFunctionDeclaration already does for C functions. We need to do the same for methods, because taking/returning an incomplete struct causes compile errors when the user tries to use the generated bindings.

@liamappelbe liamappelbe added the lang-objective_c Related to Objective C support label Jun 29, 2022
@liamappelbe liamappelbe self-assigned this Jun 29, 2022
@liamappelbe liamappelbe transferred this issue from dart-archive/ffigen Nov 15, 2023
parlough pushed a commit to parlough/native that referenced this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-objective_c Related to Objective C support package:ffigen
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant