From 966fcbe3e34de14b163987550d17b00dc84bf82e Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Tue, 16 Apr 2013 03:02:52 +0100 Subject: [PATCH] swig: add function to cast from void * to struct sr_datafeed_logic * --- bindings/swig/libsigrok.i | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/swig/libsigrok.i b/bindings/swig/libsigrok.i index 837790cc..f520cad2 100644 --- a/bindings/swig/libsigrok.i +++ b/bindings/swig/libsigrok.i @@ -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)