]> sigrok.org Git - libsigrok.git/commit
java: Don't use SWIG attribute mechanism.
authorMartin Ling <redacted>
Tue, 20 Oct 2015 23:29:50 +0000 (00:29 +0100)
committerUwe Hermann <redacted>
Sat, 24 Oct 2015 20:12:41 +0000 (22:12 +0200)
commitd0fa4ac1e786490b47b9f4284ad045f65d1e058d
treeaffd577b6c86e31a91f0088adf1ebd7b5a3dc4b7
parentd4db558810aba7c3ee66510a036f48cecf0d9d0d
java: Don't use SWIG attribute mechanism.

Using the attribute mechanism results in badly named wrappers like
getLog_level(), as well as incompletely applied typemaps for templated
container types. If we just avoid this mechanism entirely, we get the
same foo() and set_foo() accessors as we have in the C++ API.
bindings/java/org/sigrok/core/classes/classes.i
bindings/swig/classes.i