diff options
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i | 1 | ||||
-rw-r--r-- | gr-utils/python/modtool/templates/templates.py | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i b/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i index ea05727d94..2e24c12350 100644 --- a/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i +++ b/gr-utils/python/modtool/templates/gr-newmod/swig/howto_swig.i @@ -10,4 +10,3 @@ %{ %} - diff --git a/gr-utils/python/modtool/templates/templates.py b/gr-utils/python/modtool/templates/templates.py index 799f3ba4f0..f3a4e59055 100644 --- a/gr-utils/python/modtool/templates/templates.py +++ b/gr-utils/python/modtool/templates/templates.py @@ -281,7 +281,6 @@ namespace gr { # Block definition header file (for include/) Templates['block_def_h'] = r'''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef INCLUDED_${modname.upper()}_${blockname.upper()}_H #define INCLUDED_${modname.upper()}_${blockname.upper()}_H @@ -353,7 +352,6 @@ ${str_to_python_comment(license)} }[blocktype] %> % if blocktype != 'hier': - import numpy\ <% if blocktype == 'source': @@ -447,7 +445,6 @@ class ${blockname}(${parenttype}): # C++ file for QA (Boost UTF style) Templates['qa_cpp_boostutf'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -466,7 +463,6 @@ BOOST_AUTO_TEST_CASE(test_${blockname}_t1) # C++ file for QA Templates['qa_cpp'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #include <gnuradio/attributes.h> #include <cppunit/TestAssert.h> #include "qa_${blockname}.h" @@ -489,7 +485,6 @@ namespace gr { # Header file for QA Templates['qa_h'] = '''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef _QA_${blockname.upper()}_H_ #define _QA_${blockname.upper()}_H_ @@ -521,8 +516,6 @@ namespace gr { Templates['qa_python'] = '''#!/usr/bin/env python # -*- coding: utf-8 -*- ${str_to_python_comment(license)} -# - from gnuradio import gr, gr_unittest from gnuradio import blocks % if lang == 'cpp': @@ -733,7 +726,6 @@ ${modname}_${blockname}::work(int noutput_items, # Block definition header file (for include/) Templates['block_h36'] = r'''/* -*- c++ -*- */ ${str_to_fancyc_comment(license)} - #ifndef INCLUDED_${modname.upper()}_${blockname.upper()}_H #define INCLUDED_${modname.upper()}_${blockname.upper()}_H |