diff options
author | Josh Morman <mormjb@gmail.com> | 2020-04-23 07:04:15 -0400 |
---|---|---|
committer | Josh Morman <mormjb@gmail.com> | 2020-06-04 10:05:47 -0400 |
commit | 9f6086161f8693b0643215f7a3935ec13661c882 (patch) | |
tree | 288c7c47665dce6f85167b4aca9e8fba83162f96 /gr-blocks/swig | |
parent | 5a2983534fa1faac49528aa41c6cacad806a70d8 (diff) |
pybind: removal of swig components
Diffstat (limited to 'gr-blocks/swig')
-rw-r--r-- | gr-blocks/swig/CMakeLists.txt | 75 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig.py.in | 22 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig0.i | 121 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig1.i | 57 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig10.i | 59 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig2.i | 79 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig3.i | 55 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig4.i | 64 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig5.i | 70 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig6.i | 90 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig7.i | 76 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig8.i | 59 | ||||
-rw-r--r-- | gr-blocks/swig/blocks_swig9.i | 71 |
13 files changed, 0 insertions, 898 deletions
diff --git a/gr-blocks/swig/CMakeLists.txt b/gr-blocks/swig/CMakeLists.txt deleted file mode 100644 index 6c97d3322a..0000000000 --- a/gr-blocks/swig/CMakeLists.txt +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2012,2019 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# SPDX-License-Identifier: GPL-3.0-or-later -# - -######################################################################## -# Setup swig generation -######################################################################## -include(GrPython) -include(GrSwig) - -configure_file( - ${CMAKE_CURRENT_SOURCE_DIR}/blocks_swig.py.in - ${CMAKE_CURRENT_BINARY_DIR}/blocks_swig.py -@ONLY) - -# We split up the swig files into multiple sections to minimize the -# memory overhead. If a .i file grows too large, create a new file -# named 'blocks_swigN.i' and add it to this list. -# -# Also add the line "from swig_blocksN import *" line to -# blocks_swig.py.in. -set(GR_SWIG_BLOCK_IFILES - blocks_swig0 - blocks_swig1 - blocks_swig2 - blocks_swig3 - blocks_swig4 - blocks_swig5 - blocks_swig6 - blocks_swig7 - blocks_swig8 - blocks_swig9 - blocks_swig10 - ) - -set(GR_SWIG_INCLUDE_DIRS $<TARGET_PROPERTY:runtime_swig,INCLUDE_DIRECTORIES>) -set(GR_SWIG_TARGET_DEPS runtime_swig) -if(ENABLE_GR_CTRLPORT) - set(GR_SWIG_FLAGS "-DGR_CTRLPORT") -endif() - -foreach(swigfile ${GR_SWIG_BLOCK_IFILES}) - set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/${swigfile}_doc.i) - set(GR_SWIG_DOC_DIRS - ${CMAKE_CURRENT_SOURCE_DIR}/../include/gnuradio/blocks - ${CMAKE_CURRENT_BINARY_DIR}/../include/gnuradio/blocks - ) - set(GR_SWIG_DOCS_TARGET_DEPS runtime_swig_swig_doc) - set(GR_SWIG_LIBRARIES gnuradio-blocks) - set(GR_SWIG_MODULES runtime_swig) - GR_SWIG_MAKE(${swigfile} ${swigfile}.i) - - GR_SWIG_INSTALL( - TARGETS ${swigfile} - DESTINATION ${GR_PYTHON_DIR}/gnuradio/blocks - ) - list(APPEND SWIGFILES ${swigfile}.i) - list(APPEND SWIGDOCFILES ${CMAKE_CURRENT_BINARY_DIR}/${swigfile}_doc.i) -endforeach(swigfile) - -install( - FILES - ${SWIGFILES} - ${SWIGDOCFILES} - DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig -) - -# Install the Python file that pulls in the swig built files. -GR_PYTHON_INSTALL( - FILES ${CMAKE_CURRENT_BINARY_DIR}/blocks_swig.py - DESTINATION ${GR_PYTHON_DIR}/gnuradio/blocks -) diff --git a/gr-blocks/swig/blocks_swig.py.in b/gr-blocks/swig/blocks_swig.py.in deleted file mode 100644 index 566d2b9283..0000000000 --- a/gr-blocks/swig/blocks_swig.py.in +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright 2013 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# SPDX-License-Identifier: GPL-3.0-or-later -# -# - -from __future__ import absolute_import - -from .blocks_swig0 import * -from .blocks_swig1 import * -from .blocks_swig2 import * -from .blocks_swig3 import * -from .blocks_swig4 import * -from .blocks_swig5 import * -from .blocks_swig6 import * -from .blocks_swig7 import * -from .blocks_swig8 import * -from .blocks_swig9 import * -from .blocks_swig10 import * diff --git a/gr-blocks/swig/blocks_swig0.i b/gr-blocks/swig/blocks_swig0.i deleted file mode 100644 index 47a15f6e8f..0000000000 --- a/gr-blocks/swig/blocks_swig0.i +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig0_doc.i" - -%{ -#include "gnuradio/blocks/annotator_1to1.h" -#include "gnuradio/blocks/annotator_alltoall.h" -#include "gnuradio/blocks/annotator_raw.h" -#include "gnuradio/blocks/correctiq.h" -#include "gnuradio/blocks/correctiq_man.h" -#include "gnuradio/blocks/correctiq_auto.h" -#include "gnuradio/blocks/correctiq_swapiq.h" -#include "gnuradio/blocks/control_loop.h" -#include "gnuradio/blocks/copy.h" -#include "gnuradio/blocks/delay.h" -#include "gnuradio/blocks/endian_swap.h" -#include "gnuradio/blocks/file_descriptor_sink.h" -#include "gnuradio/blocks/file_descriptor_source.h" -#include "gnuradio/blocks/file_sink_base.h" -#include "gnuradio/blocks/file_sink.h" -#include "gnuradio/blocks/file_source.h" -#include "gnuradio/blocks/file_meta_sink.h" -#include "gnuradio/blocks/file_meta_source.h" -#include "gnuradio/blocks/head.h" -#include "gnuradio/blocks/message_debug.h" -#include "gnuradio/blocks/message_strobe.h" -#include "gnuradio/blocks/message_strobe_random.h" -#include "gnuradio/blocks/nop.h" -#include "gnuradio/blocks/null_sink.h" -#include "gnuradio/blocks/null_source.h" -%} - -%include "gnuradio/blocks/annotator_1to1.h" -%include "gnuradio/blocks/annotator_alltoall.h" -%include "gnuradio/blocks/annotator_raw.h" -%include "gnuradio/blocks/correctiq.h" -%include "gnuradio/blocks/correctiq_man.h" -%include "gnuradio/blocks/correctiq_auto.h" -%include "gnuradio/blocks/correctiq_swapiq.h" -%include "gnuradio/blocks/control_loop.h" -%include "gnuradio/blocks/copy.h" -%include "gnuradio/blocks/delay.h" -%include "gnuradio/blocks/endian_swap.h" -%include "gnuradio/blocks/file_descriptor_sink.h" -%include "gnuradio/blocks/file_descriptor_source.h" -%include "gnuradio/blocks/file_sink_base.h" -%include "gnuradio/blocks/file_sink.h" -%include "gnuradio/blocks/file_source.h" -%include "gnuradio/blocks/file_meta_sink.h" -%include "gnuradio/blocks/file_meta_source.h" -%include "gnuradio/blocks/head.h" -%include "gnuradio/blocks/message_debug.h" -%include "gnuradio/blocks/message_strobe.h" -%include "gnuradio/blocks/message_strobe_random.h" -%include "gnuradio/blocks/nop.h" -%include "gnuradio/blocks/null_sink.h" -%include "gnuradio/blocks/null_source.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, annotator_1to1); -GR_SWIG_BLOCK_MAGIC2(blocks, annotator_alltoall); -GR_SWIG_BLOCK_MAGIC2(blocks, annotator_raw); -GR_SWIG_BLOCK_MAGIC2(blocks, correctiq); -GR_SWIG_BLOCK_MAGIC2(blocks, correctiq_man); -GR_SWIG_BLOCK_MAGIC2(blocks, correctiq_auto); -GR_SWIG_BLOCK_MAGIC2(blocks, swap_iq); -GR_SWIG_BLOCK_MAGIC2(blocks, copy); -GR_SWIG_BLOCK_MAGIC2(blocks, delay); -GR_SWIG_BLOCK_MAGIC2(blocks, endian_swap); -GR_SWIG_BLOCK_MAGIC2(blocks, file_descriptor_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, file_descriptor_source); -GR_SWIG_BLOCK_MAGIC2(blocks, file_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, file_source); -GR_SWIG_BLOCK_MAGIC2(blocks, file_meta_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, file_meta_source); -GR_SWIG_BLOCK_MAGIC2(blocks, head); -GR_SWIG_BLOCK_MAGIC2(blocks, message_debug); -GR_SWIG_BLOCK_MAGIC2(blocks, message_strobe); -GR_SWIG_BLOCK_MAGIC2(blocks, message_strobe_random); -GR_SWIG_BLOCK_MAGIC2(blocks, nop); -GR_SWIG_BLOCK_MAGIC2(blocks, null_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, null_source); - -#ifdef GR_CTRLPORT - -%{ -#include "gnuradio/blocks/ctrlport_probe_c.h" -#include "gnuradio/blocks/ctrlport_probe2_c.h" -#include "gnuradio/blocks/ctrlport_probe2_f.h" -#include "gnuradio/blocks/ctrlport_probe2_s.h" -#include "gnuradio/blocks/ctrlport_probe2_i.h" -#include "gnuradio/blocks/ctrlport_probe2_b.h" -%} - -%include "gnuradio/blocks/ctrlport_probe_c.h" -%include "gnuradio/blocks/ctrlport_probe2_c.h" -%include "gnuradio/blocks/ctrlport_probe2_f.h" -%include "gnuradio/blocks/ctrlport_probe2_s.h" -%include "gnuradio/blocks/ctrlport_probe2_i.h" -%include "gnuradio/blocks/ctrlport_probe2_b.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe_c); -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe2_c); -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe2_f); -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe2_s); -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe2_i); -GR_SWIG_BLOCK_MAGIC2(blocks, ctrlport_probe2_b); - -#endif /* GR_CTRLPORT */ diff --git a/gr-blocks/swig/blocks_swig1.i b/gr-blocks/swig/blocks_swig1.i deleted file mode 100644 index 71eee4f1d7..0000000000 --- a/gr-blocks/swig/blocks_swig1.i +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig1_doc.i" - -%{ -#include "gnuradio/blocks/vector_map.h" -#include "gnuradio/blocks/vector_to_stream.h" -#include "gnuradio/blocks/vector_to_streams.h" -#include "gnuradio/blocks/vector_insert.h" -#include "gnuradio/blocks/vector_sink.h" -#include "gnuradio/blocks/vector_source.h" -#include "gnuradio/blocks/wavfile_sink.h" -#include "gnuradio/blocks/wavfile_source.h" -%} - -%include "gnuradio/blocks/vector_map.h" -%include "gnuradio/blocks/vector_to_stream.h" -%include "gnuradio/blocks/vector_to_streams.h" -%include "gnuradio/blocks/vector_insert.h" -%include "gnuradio/blocks/vector_sink.h" -%include "gnuradio/blocks/vector_source.h" -%include "gnuradio/blocks/wavfile_sink.h" -%include "gnuradio/blocks/wavfile_source.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, vector_map); -GR_SWIG_BLOCK_MAGIC2(blocks, vector_to_stream); -GR_SWIG_BLOCK_MAGIC2(blocks, vector_to_streams); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_insert_b, vector_insert<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_insert_s, vector_insert<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_insert_i, vector_insert<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_insert_f, vector_insert<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_insert_c, vector_insert<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_sink_b, vector_sink<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_sink_s, vector_sink<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_sink_i, vector_sink<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_sink_f, vector_sink<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_sink_c, vector_sink<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_source_b, vector_source<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_source_s, vector_source<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_source_i, vector_source<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_source_f, vector_source<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, vector_source_c, vector_source<gr_complex>); -GR_SWIG_BLOCK_MAGIC2(blocks, wavfile_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, wavfile_source); diff --git a/gr-blocks/swig/blocks_swig10.i b/gr-blocks/swig/blocks_swig10.i deleted file mode 100644 index 12fbf26a4c..0000000000 --- a/gr-blocks/swig/blocks_swig10.i +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2017 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig10_doc.i" - -%{ -#include "gnuradio/blocks/min_blk.h" -#include "gnuradio/blocks/moving_average.h" -#include "gnuradio/blocks/nlog10_ff.h" -#include "gnuradio/blocks/not_blk.h" -#include "gnuradio/blocks/or_blk.h" -#include "gnuradio/blocks/patterned_interleaver.h" -#include "gnuradio/blocks/pack_k_bits_bb.h" -#include "gnuradio/blocks/packed_to_unpacked.h" -#include "gnuradio/blocks/phase_shift.h" -%} - -%include "gnuradio/blocks/min_blk.h" -%include "gnuradio/blocks/moving_average.h" -%include "gnuradio/blocks/nlog10_ff.h" -%include "gnuradio/blocks/not_blk.h" -%include "gnuradio/blocks/or_blk.h" -%include "gnuradio/blocks/patterned_interleaver.h" -%include "gnuradio/blocks/pack_k_bits_bb.h" -%include "gnuradio/blocks/packed_to_unpacked.h" -%include "gnuradio/blocks/phase_shift.h" - -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, min_ff, min_blk<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, min_ii, min_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, min_ss, min_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, moving_average_cc, moving_average<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, moving_average_ff, moving_average<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, moving_average_ii, moving_average<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, moving_average_ss, moving_average<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, nlog10_ff); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, not_bb, not_blk<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, not_ss, not_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, not_ii, not_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, or_bb, or_blk<char>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, or_ss, or_blk<short>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, or_ii, or_blk<int>); -GR_SWIG_BLOCK_MAGIC2(blocks, patterned_interleaver); -GR_SWIG_BLOCK_MAGIC2(blocks, pack_k_bits_bb); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, packed_to_unpacked_bb, packed_to_unpacked<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, packed_to_unpacked_ss, packed_to_unpacked<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, packed_to_unpacked_ii, packed_to_unpacked<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, phase_shift); diff --git a/gr-blocks/swig/blocks_swig2.i b/gr-blocks/swig/blocks_swig2.i deleted file mode 100644 index dd2bff85d5..0000000000 --- a/gr-blocks/swig/blocks_swig2.i +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API -#define GR_RUNTIME_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig2_doc.i" - -%include "feval.i" - -%{ -#include "gnuradio/blocks/and_const.h" -#include "gnuradio/blocks/argmax.h" -#include "gnuradio/blocks/bin_statistics_f.h" -#include "gnuradio/blocks/burst_tagger.h" -#include "gnuradio/blocks/char_to_float.h" -#include "gnuradio/blocks/char_to_short.h" -#include "gnuradio/blocks/check_lfsr_32k_s.h" -#include "gnuradio/blocks/complex_to_interleaved_char.h" -#include "gnuradio/blocks/complex_to_interleaved_short.h" -#include "gnuradio/blocks/complex_to_float.h" -#include "gnuradio/blocks/complex_to_magphase.h" -#include "gnuradio/blocks/complex_to_real.h" -#include "gnuradio/blocks/complex_to_imag.h" -#include "gnuradio/blocks/complex_to_mag.h" -#include "gnuradio/blocks/complex_to_mag_squared.h" -#include "gnuradio/blocks/complex_to_arg.h" -#include "gnuradio/blocks/conjugate_cc.h" -%} - -%include "gnuradio/blocks/and_const.h" -%include "gnuradio/blocks/argmax.h" -%include "gnuradio/blocks/char_to_float.h" -%include "gnuradio/blocks/bin_statistics_f.h" -%include "gnuradio/blocks/burst_tagger.h" -%include "gnuradio/blocks/char_to_short.h" -%include "gnuradio/blocks/check_lfsr_32k_s.h" -%include "gnuradio/blocks/complex_to_interleaved_char.h" -%include "gnuradio/blocks/complex_to_interleaved_short.h" -%include "gnuradio/blocks/complex_to_float.h" -%include "gnuradio/blocks/complex_to_magphase.h" -%include "gnuradio/blocks/complex_to_real.h" -%include "gnuradio/blocks/complex_to_imag.h" -%include "gnuradio/blocks/complex_to_mag.h" -%include "gnuradio/blocks/complex_to_mag_squared.h" -%include "gnuradio/blocks/complex_to_arg.h" -%include "gnuradio/blocks/conjugate_cc.h" - -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_const_bb, and_const<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_const_ss, and_const<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_const_ii, and_const<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, argmax_fs, argmax<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, argmax_is, argmax<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, argmax_ss, argmax<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, bin_statistics_f); -GR_SWIG_BLOCK_MAGIC2(blocks, burst_tagger); -GR_SWIG_BLOCK_MAGIC2(blocks, char_to_float); -GR_SWIG_BLOCK_MAGIC2(blocks, char_to_short); -GR_SWIG_BLOCK_MAGIC2(blocks, check_lfsr_32k_s); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_interleaved_char); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_interleaved_short); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_float); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_magphase); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_real); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_imag); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_mag); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_mag_squared); -GR_SWIG_BLOCK_MAGIC2(blocks, complex_to_arg); -GR_SWIG_BLOCK_MAGIC2(blocks, conjugate_cc); diff --git a/gr-blocks/swig/blocks_swig3.i b/gr-blocks/swig/blocks_swig3.i deleted file mode 100644 index 04fc0950b5..0000000000 --- a/gr-blocks/swig/blocks_swig3.i +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig3_doc.i" - -%{ -#include "gnuradio/blocks/multiply.h" -#include "gnuradio/blocks/multiply_conjugate_cc.h" -#include "gnuradio/blocks/multiply_const.h" -#include "gnuradio/blocks/multiply_const_v.h" -#include "gnuradio/blocks/multiply_matrix.h" -#include "gnuradio/blocks/multiply_by_tag_value_cc.h" -#include "gnuradio/blocks/mute.h" -%} - -%include "gnuradio/blocks/multiply.h" -%include "gnuradio/blocks/multiply_conjugate_cc.h" -%include "gnuradio/blocks/multiply_const.h" -%include "gnuradio/blocks/multiply_const_v.h" -%include "gnuradio/blocks/multiply_matrix.h" -%include "gnuradio/blocks/multiply_by_tag_value_cc.h" -%include "gnuradio/blocks/mute.h" - -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_ss, multiply<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_ii, multiply<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_ff, multiply<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_cc, multiply<gr_complex>); -GR_SWIG_BLOCK_MAGIC2(blocks, multiply_conjugate_cc); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_ss, multiply_const<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_ii, multiply_const<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_ff, multiply_const<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_cc, multiply_const<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_vss, multiply_const_v<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_vii, multiply_const_v<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_vff, multiply_const_v<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_const_vcc, multiply_const_v<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_matrix_cc, multiply_matrix<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, multiply_matrix_ff, multiply_matrix<float>); -GR_SWIG_BLOCK_MAGIC2(blocks, multiply_by_tag_value_cc); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, mute_ss, mute_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, mute_ii, mute_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, mute_ff, mute_blk<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, mute_cc, mute_blk<gr_complex>); diff --git a/gr-blocks/swig/blocks_swig4.i b/gr-blocks/swig/blocks_swig4.i deleted file mode 100644 index 21cea34512..0000000000 --- a/gr-blocks/swig/blocks_swig4.i +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" -%include "gnuradio/blocks/pdu.h" - -%include <gnuradio/endianness.h> - -//load generated python docstrings -%include "blocks_swig4_doc.i" - -%{ -#include "gnuradio/blocks/pdu_filter.h" -#include "gnuradio/blocks/pdu_set.h" -#include "gnuradio/blocks/pdu_remove.h" -#include "gnuradio/blocks/pdu_to_tagged_stream.h" -#include "gnuradio/blocks/peak_detector.h" -#include "gnuradio/blocks/peak_detector2_fb.h" -#include "gnuradio/blocks/plateau_detector_fb.h" -#include "gnuradio/blocks/probe_rate.h" -#include "gnuradio/blocks/probe_signal.h" -#include "gnuradio/blocks/probe_signal_v.h" -%} - -%include "gnuradio/blocks/probe_signal.h" -%include "gnuradio/blocks/probe_signal_v.h" -%include "gnuradio/blocks/pdu_filter.h" -%include "gnuradio/blocks/pdu_set.h" -%include "gnuradio/blocks/pdu_remove.h" -%include "gnuradio/blocks/pdu_to_tagged_stream.h" -%include "gnuradio/blocks/peak_detector.h" -%include "gnuradio/blocks/peak_detector2_fb.h" -%include "gnuradio/blocks/plateau_detector_fb.h" -%include "gnuradio/blocks/probe_rate.h" - -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, peak_detector_fb, peak_detector<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, peak_detector_ib, peak_detector<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, peak_detector_sb, peak_detector<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, peak_detector2_fb); -GR_SWIG_BLOCK_MAGIC2(blocks, plateau_detector_fb); -GR_SWIG_BLOCK_MAGIC2(blocks, pdu_filter); -GR_SWIG_BLOCK_MAGIC2(blocks, pdu_set); -GR_SWIG_BLOCK_MAGIC2(blocks, pdu_remove); -GR_SWIG_BLOCK_MAGIC2(blocks, pdu_to_tagged_stream); -GR_SWIG_BLOCK_MAGIC2(blocks, probe_rate); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_b, probe_signal<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_s, probe_signal<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_i, probe_signal<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_f, probe_signal<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_c, probe_signal<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_vb, probe_signal_v<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_vs, probe_signal_v<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_vi, probe_signal_v<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_vf, probe_signal_v<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, probe_signal_vc, probe_signal_v<gr_complex>); diff --git a/gr-blocks/swig/blocks_swig5.i b/gr-blocks/swig/blocks_swig5.i deleted file mode 100644 index 07149ab3cf..0000000000 --- a/gr-blocks/swig/blocks_swig5.i +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2012-2013 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" -%include "gnuradio/blocks/pdu.h" - -%include <gnuradio/endianness.h> - -//load generated python docstrings -%include "blocks_swig5_doc.i" - -%{ -#include "gnuradio/blocks/pdu.h" -#include "gnuradio/blocks/random_pdu.h" -#include "gnuradio/blocks/regenerate_bb.h" -#include "gnuradio/blocks/repack_bits_bb.h" -#include "gnuradio/blocks/repeat.h" -#include "gnuradio/blocks/rms_cf.h" -#include "gnuradio/blocks/rms_ff.h" -#include "gnuradio/blocks/rotator_cc.h" -#include "gnuradio/blocks/sample_and_hold.h" -#include "gnuradio/blocks/short_to_char.h" -#include "gnuradio/blocks/short_to_float.h" -#include "gnuradio/blocks/socket_pdu.h" -#include "gnuradio/blocks/stretch_ff.h" -#include "gnuradio/blocks/sub.h" -%} - -%include "gnuradio/blocks/random_pdu.h" -%include "gnuradio/blocks/regenerate_bb.h" -%include "gnuradio/blocks/repack_bits_bb.h" -%include "gnuradio/blocks/repeat.h" -%include "gnuradio/blocks/rms_cf.h" -%include "gnuradio/blocks/rms_ff.h" -%include "gnuradio/blocks/rotator_cc.h" -%include "gnuradio/blocks/sample_and_hold.h" -%include "gnuradio/blocks/short_to_char.h" -%include "gnuradio/blocks/short_to_float.h" -%include "gnuradio/blocks/socket_pdu.h" -%include "gnuradio/blocks/stretch_ff.h" -%include "gnuradio/blocks/sub.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, random_pdu); -GR_SWIG_BLOCK_MAGIC2(blocks, regenerate_bb); -GR_SWIG_BLOCK_MAGIC2(blocks, repack_bits_bb); -GR_SWIG_BLOCK_MAGIC2(blocks, repeat); -GR_SWIG_BLOCK_MAGIC2(blocks, rms_cf); -GR_SWIG_BLOCK_MAGIC2(blocks, rms_ff); -GR_SWIG_BLOCK_MAGIC2(blocks, rotator_cc); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sample_and_hold_bb, sample_and_hold<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sample_and_hold_ss, sample_and_hold<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sample_and_hold_ii, sample_and_hold<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sample_and_hold_ff, sample_and_hold<float>); -GR_SWIG_BLOCK_MAGIC2(blocks, short_to_char); -GR_SWIG_BLOCK_MAGIC2(blocks, short_to_float); -GR_SWIG_BLOCK_MAGIC2(blocks, socket_pdu); -GR_SWIG_BLOCK_MAGIC2(blocks, stretch_ff); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sub_ff, sub<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sub_ss, sub<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sub_ii, sub<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, sub_cc, sub<gr_complex>); diff --git a/gr-blocks/swig/blocks_swig6.i b/gr-blocks/swig/blocks_swig6.i deleted file mode 100644 index 74c27b671d..0000000000 --- a/gr-blocks/swig/blocks_swig6.i +++ /dev/null @@ -1,90 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2017 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" -%include "gnuradio/blocks/pdu.h" - -%include <gnuradio/endianness.h> - -//load generated python docstrings -%include "blocks_swig6_doc.i" - -%{ -#include "gnuradio/blocks/tag_gate.h" -#include "gnuradio/blocks/tag_share.h" -#include "gnuradio/blocks/tagged_stream_align.h" -#include "gnuradio/blocks/tagged_stream_mux.h" -#include "gnuradio/blocks/tagged_stream_multiply_length.h" -#include "gnuradio/blocks/tagged_stream_to_pdu.h" -#include "gnuradio/blocks/tags_strobe.h" -#include "gnuradio/blocks/tcp_server_sink.h" -#include "gnuradio/blocks/test_tag_variable_rate_ff.h" -#include "gnuradio/blocks/threshold_ff.h" -#include "gnuradio/blocks/transcendental.h" -#include "gnuradio/blocks/tuntap_pdu.h" -#include "gnuradio/blocks/uchar_to_float.h" -#include "gnuradio/blocks/udp_sink.h" -#include "gnuradio/blocks/udp_source.h" -#include "gnuradio/blocks/unpack_k_bits.h" -#include "gnuradio/blocks/unpack_k_bits_bb.h" -#include "gnuradio/blocks/unpacked_to_packed.h" -#include "gnuradio/blocks/vco_f.h" -#include "gnuradio/blocks/vco_c.h" -#include "gnuradio/blocks/xor_blk.h" -%} - -%include "gnuradio/blocks/tag_gate.h" -%include "gnuradio/blocks/tag_share.h" -%include "gnuradio/blocks/tagged_stream_align.h" -%include "gnuradio/blocks/tagged_stream_mux.h" -%include "gnuradio/blocks/tagged_stream_multiply_length.h" -%include "gnuradio/blocks/tagged_stream_to_pdu.h" -%include "gnuradio/blocks/tags_strobe.h" -%include "gnuradio/blocks/tcp_server_sink.h" -%include "gnuradio/blocks/test_tag_variable_rate_ff.h" -%include "gnuradio/blocks/threshold_ff.h" -%include "gnuradio/blocks/transcendental.h" -%include "gnuradio/blocks/tuntap_pdu.h" -%include "gnuradio/blocks/uchar_to_float.h" -%include "gnuradio/blocks/udp_sink.h" -%include "gnuradio/blocks/udp_source.h" -%include "gnuradio/blocks/unpack_k_bits.h" -%include "gnuradio/blocks/unpack_k_bits_bb.h" -%include "gnuradio/blocks/unpacked_to_packed.h" -%include "gnuradio/blocks/vco_f.h" -%include "gnuradio/blocks/vco_c.h" -%include "gnuradio/blocks/xor_blk.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, tag_gate); -GR_SWIG_BLOCK_MAGIC2(blocks, tag_share); -GR_SWIG_BLOCK_MAGIC2(blocks, tagged_stream_align); -GR_SWIG_BLOCK_MAGIC2(blocks, tagged_stream_mux); -GR_SWIG_BLOCK_MAGIC2(blocks, tagged_stream_multiply_length); -GR_SWIG_BLOCK_MAGIC2(blocks, tagged_stream_to_pdu); -GR_SWIG_BLOCK_MAGIC2(blocks, tags_strobe); -GR_SWIG_BLOCK_MAGIC2(blocks, tcp_server_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, test_tag_variable_rate_ff); -GR_SWIG_BLOCK_MAGIC2(blocks, threshold_ff); -GR_SWIG_BLOCK_MAGIC2(blocks, transcendental); -GR_SWIG_BLOCK_MAGIC2(blocks, tuntap_pdu); -GR_SWIG_BLOCK_MAGIC2(blocks, uchar_to_float); -GR_SWIG_BLOCK_MAGIC2(blocks, udp_sink); -GR_SWIG_BLOCK_MAGIC2(blocks, udp_source); -GR_SWIG_BLOCK_MAGIC2(blocks, unpack_k_bits_bb); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, unpacked_to_packed_bb, unpacked_to_packed<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, unpacked_to_packed_ss, unpacked_to_packed<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, unpacked_to_packed_ii, unpacked_to_packed<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, vco_f); -GR_SWIG_BLOCK_MAGIC2(blocks, vco_c); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, xor_bb, xor_blk<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, xor_ss, xor_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, xor_ii, xor_blk<std::int32_t>); diff --git a/gr-blocks/swig/blocks_swig7.i b/gr-blocks/swig/blocks_swig7.i deleted file mode 100644 index b1026eb0f8..0000000000 --- a/gr-blocks/swig/blocks_swig7.i +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2017 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API -#define GR_RUNTIME_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig7_doc.i" - -%include "feval.i" - -%{ -#include "gnuradio/blocks/deinterleave.h" -#include "gnuradio/blocks/divide.h" -#include "gnuradio/blocks/exponentiate_const_cci.h" -#include "gnuradio/blocks/selector.h" -#include "gnuradio/blocks/skiphead.h" -#include "gnuradio/blocks/stream_mux.h" -#include "gnuradio/blocks/stream_to_streams.h" -#include "gnuradio/blocks/stream_to_tagged_stream.h" -#include "gnuradio/blocks/stream_to_vector.h" -#include "gnuradio/blocks/streams_to_stream.h" -#include "gnuradio/blocks/streams_to_vector.h" -#include "gnuradio/blocks/tag_debug.h" -#include "gnuradio/blocks/tagged_file_sink.h" -#include "gnuradio/blocks/tsb_vector_sink.h" -#include "gnuradio/blocks/throttle.h" -%} - -%include "gnuradio/blocks/deinterleave.h" -%include "gnuradio/blocks/divide.h" -%include "gnuradio/blocks/exponentiate_const_cci.h" -%include "gnuradio/blocks/selector.h" -%include "gnuradio/blocks/skiphead.h" -%include "gnuradio/blocks/stream_mux.h" -%include "gnuradio/blocks/stream_to_streams.h" -%include "gnuradio/blocks/stream_to_tagged_stream.h" -%include "gnuradio/blocks/stream_to_vector.h" -%include "gnuradio/blocks/streams_to_stream.h" -%include "gnuradio/blocks/streams_to_vector.h" -%include "gnuradio/blocks/tag_debug.h" -%include "gnuradio/blocks/tagged_file_sink.h" -%include "gnuradio/blocks/tsb_vector_sink.h" -%include "gnuradio/blocks/throttle.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, deinterleave); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, divide_ff, divide<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, divide_ss, divide<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, divide_ii, divide<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, divide_cc, divide<gr_complex>); -GR_SWIG_BLOCK_MAGIC2(blocks, exponentiate_const_cci); -GR_SWIG_BLOCK_MAGIC2(blocks, selector); -GR_SWIG_BLOCK_MAGIC2(blocks, skiphead); -GR_SWIG_BLOCK_MAGIC2(blocks, stream_mux); -GR_SWIG_BLOCK_MAGIC2(blocks, stream_to_streams); -GR_SWIG_BLOCK_MAGIC2(blocks, stream_to_tagged_stream); -GR_SWIG_BLOCK_MAGIC2(blocks, stream_to_vector); -GR_SWIG_BLOCK_MAGIC2(blocks, streams_to_stream); -GR_SWIG_BLOCK_MAGIC2(blocks, streams_to_vector); -GR_SWIG_BLOCK_MAGIC2(blocks, tag_debug); -GR_SWIG_BLOCK_MAGIC2(blocks, tagged_file_sink); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, tsb_vector_sink_b, tsb_vector_sink<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, tsb_vector_sink_c, tsb_vector_sink<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, tsb_vector_sink_f, tsb_vector_sink<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, tsb_vector_sink_i, tsb_vector_sink<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, tsb_vector_sink_s, tsb_vector_sink<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2(blocks, throttle); diff --git a/gr-blocks/swig/blocks_swig8.i b/gr-blocks/swig/blocks_swig8.i deleted file mode 100644 index 5d1ee2ab37..0000000000 --- a/gr-blocks/swig/blocks_swig8.i +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2017 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig8_doc.i" - -%{ -#include "gnuradio/blocks/abs_blk.h" -#include "gnuradio/blocks/add_blk.h" -#include "gnuradio/blocks/add_const_bb.h" -#include "gnuradio/blocks/add_const_ff.h" -#include "gnuradio/blocks/add_const_ss.h" -#include "gnuradio/blocks/add_const_ii.h" -#include "gnuradio/blocks/add_const_cc.h" -#include "gnuradio/blocks/add_const_v.h" -#include "gnuradio/blocks/and_blk.h" -%} - -%include "gnuradio/blocks/abs_blk.h" -%include "gnuradio/blocks/add_blk.h" -%include "gnuradio/blocks/add_const_bb.h" -%include "gnuradio/blocks/add_const_ff.h" -%include "gnuradio/blocks/add_const_ss.h" -%include "gnuradio/blocks/add_const_ii.h" -%include "gnuradio/blocks/add_const_cc.h" -%include "gnuradio/blocks/add_const_v.h" -%include "gnuradio/blocks/and_blk.h" - -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, abs_ff, abs_blk<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, abs_ss, abs_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, abs_ii, abs_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_ff, add_blk<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_ss, add_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_ii, add_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_cc, add_blk<gr_complex>); -GR_SWIG_BLOCK_MAGIC2(blocks, add_const_bb); -GR_SWIG_BLOCK_MAGIC2(blocks, add_const_ff); -GR_SWIG_BLOCK_MAGIC2(blocks, add_const_ss); -GR_SWIG_BLOCK_MAGIC2(blocks, add_const_ii); -GR_SWIG_BLOCK_MAGIC2(blocks, add_const_cc); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_const_vbb, add_const_v<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_const_vff, add_const_v<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_const_vss, add_const_v<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_const_vii, add_const_v<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, add_const_vcc, add_const_v<gr_complex>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_bb, and_blk<std::uint8_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_ss, and_blk<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, and_ii, and_blk<std::int32_t>); diff --git a/gr-blocks/swig/blocks_swig9.i b/gr-blocks/swig/blocks_swig9.i deleted file mode 100644 index 070e723b9e..0000000000 --- a/gr-blocks/swig/blocks_swig9.i +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2017 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define BLOCKS_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "blocks_swig9_doc.i" - -%{ -#include "gnuradio/blocks/float_to_char.h" -#include "gnuradio/blocks/float_to_complex.h" -#include "gnuradio/blocks/magphase_to_complex.h" -#include "gnuradio/blocks/float_to_int.h" -#include "gnuradio/blocks/float_to_short.h" -#include "gnuradio/blocks/float_to_uchar.h" -#include "gnuradio/blocks/int_to_float.h" -#include "gnuradio/blocks/integrate.h" -#include "gnuradio/blocks/interleave.h" -#include "gnuradio/blocks/interleaved_short_to_complex.h" -#include "gnuradio/blocks/interleaved_char_to_complex.h" -#include "gnuradio/blocks/keep_m_in_n.h" -#include "gnuradio/blocks/keep_one_in_n.h" -#include "gnuradio/blocks/lfsr_32k_source_s.h" -#include "gnuradio/blocks/max_blk.h" -%} - -%include "gnuradio/blocks/float_to_char.h" -%include "gnuradio/blocks/float_to_complex.h" -%include "gnuradio/blocks/magphase_to_complex.h" -%include "gnuradio/blocks/float_to_int.h" -%include "gnuradio/blocks/float_to_short.h" -%include "gnuradio/blocks/float_to_uchar.h" -%include "gnuradio/blocks/int_to_float.h" -%include "gnuradio/blocks/integrate.h" -%include "gnuradio/blocks/interleave.h" -%include "gnuradio/blocks/interleaved_short_to_complex.h" -%include "gnuradio/blocks/interleaved_char_to_complex.h" -%include "gnuradio/blocks/keep_m_in_n.h" -%include "gnuradio/blocks/keep_one_in_n.h" -%include "gnuradio/blocks/lfsr_32k_source_s.h" -%include "gnuradio/blocks/max_blk.h" - -GR_SWIG_BLOCK_MAGIC2(blocks, float_to_char); -GR_SWIG_BLOCK_MAGIC2(blocks, float_to_complex); -GR_SWIG_BLOCK_MAGIC2(blocks, magphase_to_complex); -GR_SWIG_BLOCK_MAGIC2(blocks, float_to_int); -GR_SWIG_BLOCK_MAGIC2(blocks, float_to_short); -GR_SWIG_BLOCK_MAGIC2(blocks, float_to_uchar); -GR_SWIG_BLOCK_MAGIC2(blocks, int_to_float); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, integrate_ss, integrate<std::int16_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, integrate_ii, integrate<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, integrate_ff, integrate<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, integrate_cc, integrate<gr_complex>); -GR_SWIG_BLOCK_MAGIC2(blocks, interleave); -GR_SWIG_BLOCK_MAGIC2(blocks, interleaved_short_to_complex); -GR_SWIG_BLOCK_MAGIC2(blocks, interleaved_char_to_complex); -GR_SWIG_BLOCK_MAGIC2(blocks, keep_m_in_n); -GR_SWIG_BLOCK_MAGIC2(blocks, keep_one_in_n); -GR_SWIG_BLOCK_MAGIC2(blocks, lfsr_32k_source_s); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, max_ff, max_blk<float>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, max_ii, max_blk<std::int32_t>); -GR_SWIG_BLOCK_MAGIC2_TMPL(blocks, max_ss, max_blk<std::int16_t>); |