Looking inside gnuradio,I've found blocks like divide_XX where relative files have an extension .t (like divide_XX_impl.cc.t )..in this way,is possible to manage different types for the same block. How is posssible to create blocks like them? is necessary to use particular parameters in gr_modtools?
I ask this because I didn't found other clever way to manage multiple data type at the same time. I've tried with template, but it doesn't wotk(cmake/make work,but swig doesn't work)..also making different blocks(same function,different data type) which invoke the same template(with different parameters) doesn't work with swig,and crash aslo the others wrapper. Thanks, marco
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio