/usr/include/swig/iio_swig.i is in gr-iio 0.1.67-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /* -*- c++ -*- */
#define IIO_API
%include "gnuradio.i"
%{
#include "gnuradio/iio/device_source.h"
#include "gnuradio/iio/device_sink.h"
#include "gnuradio/iio/fmcomms2_source.h"
#include "gnuradio/iio/fmcomms2_sink.h"
#include "gnuradio/iio/fmcomms5_source.h"
#include "gnuradio/iio/fmcomms5_sink.h"
#include "gnuradio/iio/math.h"
#include "gnuradio/iio/power_ff.h"
%}
%include "gnuradio/iio/device_source.h"
%include "gnuradio/iio/device_sink.h"
%include "gnuradio/iio/fmcomms2_source.h"
%include "gnuradio/iio/fmcomms2_sink.h"
%include "gnuradio/iio/fmcomms5_source.h"
%include "gnuradio/iio/fmcomms5_sink.h"
%include "gnuradio/iio/math.h"
%include "gnuradio/iio/power_ff.h"
GR_SWIG_BLOCK_MAGIC2(iio, device_source);
GR_SWIG_BLOCK_MAGIC2(iio, device_sink);
GR_SWIG_BLOCK_MAGIC2(iio, fmcomms2_source);
GR_SWIG_BLOCK_MAGIC2(iio, fmcomms2_sink);
GR_SWIG_BLOCK_MAGIC2(iio, fmcomms5_source);
GR_SWIG_BLOCK_MAGIC2(iio, fmcomms5_sink);
GR_SWIG_BLOCK_MAGIC2(iio, iio_math);
GR_SWIG_BLOCK_MAGIC2(iio, iio_math_gen);
GR_SWIG_BLOCK_MAGIC2(iio, power_ff);
|