-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add failing test to illustrate issue #319
base: master
Are you sure you want to change the base?
Conversation
@headius .... any steer appreciated .... |
I'll look into this tonight or early tomorrow! Thanks for the case. |
Could you open a bug describing the problem? Link to this test case so I or someone else can see exactly what the problem is. |
I can do that. But I'm not sure it's an issue or my inexperience. Perhaps the solution is simple? I can't find a way to have the c function interpret the struct by value ... I can do this
using something in java like
But I cannot do this
|
Ok thank you, that really helps me understand the problem! I will need to poke around a bit to see if passing structs by value is supported. I'd say based on your test case, it is not, but I'm not sure if that is intentional (not implemented) or a bug (should work but doesn't and nobody realized until now). |
I've added a test to show the issue I'm facing.
It looks like there is no way to pass a struct by value.
Any help appreciated?
If it's not possible, is it on the way by any chance?
Any recommendations? (I don't have access to the original code, but I could use SWIG?)