From ed95e8d45cfc6cd3e026298dadf4d2e8f9f1c3b8 Mon Sep 17 00:00:00 2001 From: mormj <34754695+mormj@users.noreply.github.com> Date: Tue, 3 Nov 2020 16:51:44 -0500 Subject: Move FFT functions and blocks to templates (#3903) * fft: refactor fft classes as templates In order to reduce code duplication construct fft objects and blocks with template paramters. Separate forward and reverse as a template parameter Maintain the real fft block forward as r2c and reverse as r2c as well Co-authored-by: Andrej Rode <mail@andrejro.de> --- .../python/fft/bindings/docstrings/fft_v_pydoc_template.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gr-fft/python/fft/bindings/docstrings/fft_v_pydoc_template.h (limited to 'gr-fft/python/fft/bindings/docstrings/fft_v_pydoc_template.h') diff --git a/gr-fft/python/fft/bindings/docstrings/fft_v_pydoc_template.h b/gr-fft/python/fft/bindings/docstrings/fft_v_pydoc_template.h new file mode 100644 index 0000000000..4a1b3ede3e --- /dev/null +++ b/gr-fft/python/fft/bindings/docstrings/fft_v_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, fft, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ -- cgit v1.2.3