On Thu, Feb 25, 2010 at 11:41:23AM -0800, Josh Blum wrote:
> gr_make_io_signature2 and 3? Common mr gnuradio, with your fancy c++
> and your smart pointers and your swig. How-about replacing this with
> a single gr_make_io_signature with some parameter defaults:
> 
> gr_make_io_signature(min, max, io_size0, io_size1=0, io_size2=0,
> io_size2=0... io_size7=0)

There's a *v version that will take an unbounded number of specs.
It's the "real primitive" and is available from python as
gr.make_io_signaturev.  (See gr_io_signature.i)

E.g.,

  gr.make_io_signaturev(3, 3, (gr.sizeof_float, gr.sizeof_char, gr.sizeof_int))

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to