/usr/include/gnuradio/fosphor/swig/fosphor_swig.i is in gr-fosphor 3.7.0.2.7b6b996-2.
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 36 | /* -*- c++ -*- */
#define GR_FOSPHOR_API
%include "gnuradio.i" // the common stuff
//load generated python docstrings
%include "fosphor_swig_doc.i"
%{
#include "gnuradio/fosphor/glfw_sink_c.h"
#include "gnuradio/fosphor/qt_sink_c.h"
#include "gnuradio/fosphor/wx_core_sink_c.h"
%}
%typemap(in) gr::fft::window::win_type {
$1 = (gr::fft::window::win_type)(PyInt_AsLong($input));
}
%include "gnuradio/fosphor/base_sink_c.h"
#ifdef ENABLE_GLFW
%nodefaultctor gr::fosphor::glfw_sink_c; // bug workaround
%include "gnuradio/fosphor/glfw_sink_c.h"
GR_SWIG_BLOCK_MAGIC2(fosphor, glfw_sink_c);
#endif
#ifdef ENABLE_QT
%include "gnuradio/fosphor/qt_sink_c.h"
GR_SWIG_BLOCK_MAGIC2(fosphor, qt_sink_c);
#endif
#ifdef ENABLE_WX
%include "gnuradio/fosphor/wx_core_sink_c.h"
GR_SWIG_BLOCK_MAGIC2(fosphor, wx_core_sink_c);
#endif
|