]> sigrok.org Git - libsigrok.git/blobdiff - bindings/java/org/sigrok/core/classes/classes.i
bindings: Use new %attributevector and %attributemap macros.
[libsigrok.git] / bindings / java / org / sigrok / core / classes / classes.i
index 4fe326d158c77c4c8e90fe92b7f80117a994118b..22e6e2562ab43f0f9729ff72091c93d325c6e584 100644 (file)
@@ -377,4 +377,13 @@ typedef jobject jsourcecallback;
 }
 
 %include "doc.i"
+
+%define %attributevector(Class, Type, Name, Get)
+%attributeval(sigrok::Class, Type, Name, Get);
+%enddef
+
+%define %attributemap(Class, Type, Name, Get)
+%attributeval(sigrok::Class, Type, Name, Get);
+%enddef
+
 %include "bindings/swig/classes.i"