]> sigrok.org Git - libsigrok.git/blobdiff - bindings/java/org/sigrok/core/classes/classes.i
bindings: Re-enable Java, but ignore create_analog_packet().
[libsigrok.git] / bindings / java / org / sigrok / core / classes / classes.i
index 4fe326d158c77c4c8e90fe92b7f80117a994118b..413fb93ab44c6813672df832f51250dbc48ab371 100644 (file)
@@ -377,4 +377,20 @@ 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
+
+%define %enumextras(Class)
+%enddef
+
+/* Ignore this for now, needs a fix. */
+%ignore sigrok::Context::create_analog_packet;
+
 %include "bindings/swig/classes.i"
+