summaryrefslogtreecommitdiff
path: root/volk/python/libvector_square_ff.i
diff options
context:
space:
mode:
Diffstat (limited to 'volk/python/libvector_square_ff.i')
-rw-r--r--volk/python/libvector_square_ff.i37
1 files changed, 37 insertions, 0 deletions
diff --git a/volk/python/libvector_square_ff.i b/volk/python/libvector_square_ff.i
new file mode 100644
index 000000000..a1c547cc7
--- /dev/null
+++ b/volk/python/libvector_square_ff.i
@@ -0,0 +1,37 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2008 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 this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+/*
+ * 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 gr_example_square_ff from python as howto.square_ff
+ */
+GR_SWIG_BLOCK_MAGIC(libvector,square_ff);
+
+libvector_square_ff_sptr libvector_make_square_ff ();
+
+class libvector_square_ff : public gr_sync_block
+{
+private:
+ libvector_square_ff();
+};