summaryrefslogtreecommitdiff
path: root/gsmsp/gsm/src/lib/gsm.i
blob: dc3b5d4349d462202edcbc3ef0465acff54ac774 (plain)
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
/* -*- 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 <stdexcept>
%}

// ----------------------------------------------------------------

/*
 * 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 ();
};

personal git repositories of Harald Welte. Your mileage may vary