From 956203ad8df7b68af83ae94f7793a028c74113ee Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 25 Nov 2008 11:11:49 +0530 Subject: Initial import of gsmsp-0.2a --- gsmsp/gsm/src/lib/gsm.i | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gsmsp/gsm/src/lib/gsm.i (limited to 'gsmsp/gsm/src/lib/gsm.i') diff --git a/gsmsp/gsm/src/lib/gsm.i b/gsmsp/gsm/src/lib/gsm.i new file mode 100644 index 0000000..dc3b5d4 --- /dev/null +++ b/gsmsp/gsm/src/lib/gsm.i @@ -0,0 +1,32 @@ +/* -*- c++ -*- */ + +%feature("autodoc", "1"); // generate python docstrings + +%include "exception.i" +%import "gnuradio.i" // the common stuff + +%{ +#include "gnuradio_swig_bug_workaround.h" // mandatory bug fix +#include "gsm_run_bb.h" +#include +%} + +// ---------------------------------------------------------------- + +/* + * First arg is the package prefix. + * Second arg is the name of the class minus the prefix. + * + * This does some behind-the-scenes magic so we can + * access gsm_ruN_bb from python as gsm.run_bb + */ +GR_SWIG_BLOCK_MAGIC(gsm,run_bb); + +gsm_run_bb_sptr gsm_make_run_bb (); + +class gsm_run_bb : public gr_block +{ +private: + gsm_run_bb (); +}; + -- cgit v1.2.3