Closed GoogleCodeExporter closed 9 years ago
Actually, I think that should produce
pointer->constByrefTest(*(const unicoi::test::Foobar*)pointer0);
Would that look good?
BTW, we do not need a const cast for simple pointers, so
public native void constByrefTest(@ByRef Foobar obj);
should work.
Original comment by samuel.a...@gmail.com
on 19 Oct 2011 at 3:53
Actually I use
public native void constByrefTest(@ByRef Foobar obj);
on the other cases and things all work properly.
But in this particular case it is for the FunctionPointer and I had to add
@Const and found the bug.
Your fix works too and actually makes more sense.
Original comment by bid...@gmail.com
on 19 Oct 2011 at 2:43
I made changes in the SVN repository. It should fix this issue. Can you check?
Thank you
Original comment by samuel.a...@gmail.com
on 20 Oct 2011 at 2:18
This problem has been fixed!
Original comment by bid...@gmail.com
on 25 Oct 2011 at 2:07
Great!
Original comment by samuel.a...@gmail.com
on 29 Oct 2011 at 5:12
Original issue reported on code.google.com by
bid...@gmail.com
on 17 Oct 2011 at 4:44Attachments: