Add failing test to illustrate issue#319
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?)