# Re: How make a \*.t block

**URL:** <https://www.ruby-forum.com/t/re-how-make-a-t-block/241866>\
**Category:** GNU Radio\
**Created:** [May 6, 2015, 10:02pm UTC](https://www.ruby-forum.com/t/re-how-make-a-t-block/241866 "2015-05-06T22:02:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 6, 2015, 10:02pm UTC](https://www.ruby-forum.com/t/re-how-make-a-t-block/241866/1 "2015-05-06T22:02:10Z")

</div>

Tahnk you very much for your reply.  
I’ve tried different time with templates,but I was not able to obtain a  
result(cmake and make finish errors,but I suppose that swig  
crash,because  
python scripts are not able to access to any block written in C,also  
blocks  
without template)…

At the end I’ve solved thanks to \*.t files.

Templates have also another little problem: gr\_complex is declared as  
complex,while other types are more basic…so it would be  
necessary  
to write a template for “normal” types like float,short…, plus a  
template  
of template for gr\_complex

Marco
