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

Fixed issue with multiple arguments #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kohlten
Copy link

@kohlten kohlten commented Sep 13, 2019

Fixes #48

The issue with the multiple arguments was related to the pointer arithmetic that was being used to go through the C arguments in go_method_func. I was able to fix that by using reflect to create a Go slice from that C array and then just go through that array to create the go variants.

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.

Problem passing multiple parameters to "RegisterMethod" registered method
2 participants