From: Martin Ling Date: Mon, 15 Apr 2013 22:05:38 +0000 (+0100) Subject: Tell SWIG that gpointer is really void *. X-Git-Tag: dsupstream~141 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7aafb892746356c9089a2ba91188bfa51c68cea2;p=libsigrok.git Tell SWIG that gpointer is really void *. --- diff --git a/bindings/swig/libsigrok.i b/bindings/swig/libsigrok.i index 73591a12..19f4a3b4 100644 --- a/bindings/swig/libsigrok.i +++ b/bindings/swig/libsigrok.i @@ -25,6 +25,8 @@ #include "libsigrok/libsigrok.h" %} +typedef void * gpointer; + typedef struct _GSList GSList; struct _GSList