diff options
author | Tom Rondeau | 2013-05-14 18:36:25 +0100 |
---|---|---|
committer | Tom Rondeau | 2013-05-14 18:36:25 +0100 |
commit | 4850598303359963de1b84791f0d66b8f9c9ad9c (patch) | |
tree | 684ffe0463345f9fa84d0e453b7936f700d3dd66 | |
parent | 6681c27c4bf6bb648684e4d716983a556ad860e8 (diff) | |
download | gnuradio-4850598303359963de1b84791f0d66b8f9c9ad9c.tar.gz gnuradio-4850598303359963de1b84791f0d66b8f9c9ad9c.tar.bz2 gnuradio-4850598303359963de1b84791f0d66b8f9c9ad9c.zip |
modtool: fixed some setup for noblock gen.
-rw-r--r-- | gr-utils/src/python/modtool/templates.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/templates.py b/gr-utils/src/python/modtool/templates.py index d7cfffd06..878baaadf 100644 --- a/gr-utils/src/python/modtool/templates.py +++ b/gr-utils/src/python/modtool/templates.py @@ -230,9 +230,10 @@ namespace gr { */ class ${modname.upper()}_API $blockname { + public: ${blockname}(${arglist}); ~${blockname}(); - private: + private: }; #else /*! @@ -496,12 +497,16 @@ gr_modtool help <command> -- Shows the help for a given command. ''' # SWIG string Templates['swig_block_magic'] = """#if $version == '36' +#if $blocktype != 'noblock' GR_SWIG_BLOCK_MAGIC($modname, $blockname); +#end if %include "${modname}_${blockname}.h" #else %include "${modname}/${blockname}.h" +#if $blocktype != 'noblock' GR_SWIG_BLOCK_MAGIC2($modname, $blockname); #end if +#end if """ ## Old stuff |