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

codegen: fix generic input parameters #93

Merged
merged 1 commit into from
May 9, 2024

Conversation

jagobagascon
Copy link
Contributor

Generic parameters are not yet supported so we use the unsafe.Pointer to let the user pass any parameter it wants. We were not taking this into account on function input parameters and we were wraping the unsafe.Pointer value again in another unsafe.Pointer, which caused errors for some users.

fixes #92

Generic parameters are not yet supported so we use the unsafe.Pointer to
let the user pass any parameter it wants. We were not taking this into
account on function input parameters and we were wraping the
unsafe.Pointer value again in another unsafe.Pointer, which caused
errors for some users.

fixes #92
@jagobagascon
Copy link
Contributor Author

@Cartermel could you please validate that this fixes your issue before we merge this PR?

@jagobagascon jagobagascon merged commit 45c2d7a into main May 9, 2024
2 checks passed
@jagobagascon jagobagascon deleted the feature/fix-generic-input-parameters branch May 9, 2024 09:04
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

Successfully merging this pull request may close these issues.

Appending to IVector Exceptions
2 participants