From: Martin Ling Date: Mon, 21 Apr 2014 01:13:10 +0000 (+0100) Subject: SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format. X-Git-Tag: libsigrok-0.4.0~1256 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fb336bf9e509693f460cfcdf16d106ba690734c8;p=libsigrok.git SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format. --- diff --git a/bindings/swig/libsigrok.i b/bindings/swig/libsigrok.i index 3e33963f..8fe03f48 100644 --- a/bindings/swig/libsigrok.i +++ b/bindings/swig/libsigrok.i @@ -114,18 +114,3 @@ gchar *g_string_free(GString *string, gboolean free_segment); return $self->loadfile(in, filename); } } - -%extend sr_output_format { - int call_init(struct sr_output *o) { - return $self->init(o); - } - - int call_receive(struct sr_output *o, - const struct sr_datafeed_packet *packet, GString **out) { - return $self->receive(o, packet, out); - } - - int call_cleanup(struct sr_output *o) { - return $self->cleanup(o); - } -}