Imported Upstream version 3.0
[debian/gnuradio] / gr-radio-astronomy / src / lib / ra.i
1 /* -*- c++ -*- */
2
3 %feature("autodoc", "1");               // generate python docstrings
4
5 %include "exception.i"
6 %import "gnuradio.i"                    // the common stuff
7
8 %{
9 #include "gnuradio_swig_bug_workaround.h"       // mandatory bug fix
10 #include <stdexcept>
11 %}
12
13 // We'll need something like this if we add C++ blocks...
14 // See the gr-howto-write-a-block tarball for examples
15
16 // ----------------------------------------------------------------
17
18 /*
19  * First arg is the package prefix.
20  * Second arg is the name of the class minus the prefix.
21  *
22  * This does some behind-the-scenes magic so we can
23  * access ra_square_ff from python as ra.square_ff
24  */
25 // GR_SWIG_BLOCK_MAGIC(ra,square_ff);
26
27 // ra_square_ff_sptr ra_make_square_ff ();
28 // 
29 // class ra_square_ff : public gr_block
30 // {
31 // private:
32 //   ra_square_ff ();
33 // };
34 // 
35 // // ----------------------------------------------------------------
36 // 
37 // GR_SWIG_BLOCK_MAGIC(ra,square2_ff);
38 // 
39 // ra_square2_ff_sptr ra_make_square2_ff ();
40 // 
41 // class ra_square2_ff : public gr_sync_block
42 // {
43 // private:
44 //   ra_square2_ff ();
45 // };