]> sigrok.org Git - libsigrok.git/commitdiff
swig: add function to cast from void * to struct sr_datafeed_logic *
authorMartin Ling <redacted>
Tue, 16 Apr 2013 02:02:52 +0000 (03:02 +0100)
committerUwe Hermann <redacted>
Tue, 16 Apr 2013 10:07:54 +0000 (12:07 +0200)
bindings/swig/libsigrok.i

index 837790cc6c6fec16d30dec151656c9ea9c1162be..f520cad21f4842e0ffc8f43828c18c9ba552a40e 100644 (file)
@@ -48,3 +48,4 @@ void g_slist_free(GSList *list);
 %pointer_functions(struct sr_context *, sr_context_ptr_ptr);
 %array_functions(struct sr_dev_driver *, sr_dev_driver_ptr_array);
 %pointer_cast(gpointer, struct sr_dev_inst *, gpointer_to_sr_dev_inst_ptr);
+%pointer_cast(void *, struct sr_datafeed_logic *, void_ptr_to_sr_datafeed_logic_ptr)