File: howto_swig.i

package info (click to toggle)
gnuradio 3.5.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 24,844 kB
  • sloc: cpp: 68,797; python: 54,233; ansic: 24,669; xml: 18,356; sh: 9,042; makefile: 4,835; asm: 3,373; fortran: 927; lisp: 799
file content (30 lines) | stat: -rw-r--r-- 541 bytes parent folder | download
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
/* -*- c++ -*- */

#define HOWTO_API

%include "gnuradio.i"			// the common stuff

//load generated python docstrings
%include "howto_swig_doc.i"


%{
#include "howto_square_ff.h"
#include "howto_square2_ff.h"
%}

GR_SWIG_BLOCK_MAGIC(howto,square_ff);
%include "howto_square_ff.h"

GR_SWIG_BLOCK_MAGIC(howto,square2_ff);
%include "howto_square2_ff.h"

#if SWIGGUILE
%scheme %{
(load-extension-global "libguile-gnuradio-howto_swig" "scm_init_gnuradio_howto_swig_module")
%}

%goops %{
(use-modules (gnuradio gnuradio_core_runtime))
%}
#endif