summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/modtool
diff options
context:
space:
mode:
authorMartin Braun2013-02-06 09:50:49 +0100
committerMartin Braun2013-02-06 09:50:49 +0100
commitd83d461c68a53e6ac6652ef53384698d13cdb8ed (patch)
tree2e6b0f8e54a5c6229980273423b0f1645c8223e9 /gr-utils/src/python/modtool
parent2ba9f1a544be17f40d60ba365bb084a342d41e0a (diff)
downloadgnuradio-d83d461c68a53e6ac6652ef53384698d13cdb8ed.tar.gz
gnuradio-d83d461c68a53e6ac6652ef53384698d13cdb8ed.tar.bz2
gnuradio-d83d461c68a53e6ac6652ef53384698d13cdb8ed.zip
modtool: fixed block_magic and %include order
Diffstat (limited to 'gr-utils/src/python/modtool')
-rw-r--r--gr-utils/src/python/modtool/templates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/templates.py b/gr-utils/src/python/modtool/templates.py
index f405bcabb..877735711 100644
--- a/gr-utils/src/python/modtool/templates.py
+++ b/gr-utils/src/python/modtool/templates.py
@@ -502,8 +502,8 @@ Templates['swig_block_magic'] = """#if $version == '37'
#set $mod_block_sep = '_'
#set $block_magic_version = ''
#end if
-GR_SWIG_BLOCK_MAGIC${block_magic_version}($modname, $blockname);
%include "${modname}${mod_block_sep}${blockname}.h"
+GR_SWIG_BLOCK_MAGIC${block_magic_version}($modname, $blockname);
"""
## Old stuff