[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Question about inputs and outputs of a block
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Question about inputs and outputs of a block |
Date: |
Tue, 2 Mar 2010 09:43:07 -0800 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
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
- Re: [Discuss-gnuradio] Question about inputs and outputs of a block,
Eric Blossom <=