swig: add function to cast from void * to struct sr_datafeed_logic *

This commit is contained in:
Martin Ling 2013-04-16 03:02:52 +01:00 committed by Uwe Hermann
parent 0849c7d310
commit 966fcbe3e3
1 changed files with 1 additions and 0 deletions

View 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)