summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/swig/sw_runtime.i
diff options
context:
space:
mode:
authorjcorgan2009-02-10 04:53:37 +0000
committerjcorgan2009-02-10 04:53:37 +0000
commit7783dc88c6acf839b59c7c3358094f85e0012ada (patch)
tree42b3ed5759abef32e75b28d9936aa660cc47ab68 /gnuradio-core/src/lib/swig/sw_runtime.i
parent417a36b82e23fa681e361541c1824ba4de811a7a (diff)
downloadgnuradio-7783dc88c6acf839b59c7c3358094f85e0012ada.tar.gz
gnuradio-7783dc88c6acf839b59c7c3358094f85e0012ada.tar.bz2
gnuradio-7783dc88c6acf839b59c7c3358094f85e0012ada.zip
Merged r10385:10413 from michaelld/swig_tweaks into trunk. Passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10414 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/swig/sw_runtime.i')
-rw-r--r--gnuradio-core/src/lib/swig/sw_runtime.i32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/swig/sw_runtime.i b/gnuradio-core/src/lib/swig/sw_runtime.i
new file mode 100644
index 000000000..8f444f9c5
--- /dev/null
+++ b/gnuradio-core/src/lib/swig/sw_runtime.i
@@ -0,0 +1,32 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2009 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef SWIGIMPORTED
+%module(directors="1") gnuradio_swig_py_runtime
+#endif
+
+ //%feature("autodoc", "1"); // generate python docstrings
+
+#define SW_RUNTIME
+%include "gnuradio.i" // the common stuff
+
+%include "runtime.i"