From 6b1e513f71dc70b435d2bff920e06d20c569f189 Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Fri, 24 May 2013 17:20:46 -0400
Subject: modtool: Fixes for intial templates of a block.

1. adds '$' to args in the GRC xml <make> tag.
2. sets <+ITYPE+> and <+OTYPE+> for all I/O data types in io_signature and in work functions to be more clear what needs modification.
---
 gr-utils/python/modtool/code_generator.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gr-utils/python/modtool/code_generator.py')

diff --git a/gr-utils/python/modtool/code_generator.py b/gr-utils/python/modtool/code_generator.py
index 33cebc68c4..1bdffa501b 100644
--- a/gr-utils/python/modtool/code_generator.py
+++ b/gr-utils/python/modtool/code_generator.py
@@ -26,6 +26,7 @@ from util_functions import str_to_fancyc_comment
 from util_functions import str_to_python_comment
 from util_functions import strip_default_values
 from util_functions import strip_arg_types
+from util_functions import strip_arg_types_grc
 
 class GRMTemplate(Cheetah.Template.Template):
     """ An extended template class """
@@ -44,6 +45,7 @@ class GRMTemplate(Cheetah.Template.Template):
         searchList['str_to_python_comment'] = str_to_python_comment
         searchList['strip_default_values'] = strip_default_values
         searchList['strip_arg_types'] = strip_arg_types
+        searchList['strip_arg_types_grc'] = strip_arg_types_grc
         Cheetah.Template.Template.__init__(self, src, searchList=searchList)
         self.grblocktype = self.grtypelist[searchList['blocktype']]
 
-- 
cgit v1.2.3