w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Structure.ByValue object not working properly when used as a structure field

Don't use Structure.ByValue. JNA assumes by-value semantics to begin with for structure-typed fields; the Structure.ByValue tag actually triggers special handling which assumes (perhaps over-broadly) that it is dealing with a by-value function parameter or return value.

Feel free to file an issue.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.