On Thu, Jan 16, 2014 at 10:13 AM, Activecat <active...@gmail.com> wrote:

> Dear Sir,
>
> Is this a good alternative?
>    gr_make_io_signature2 (2, 2, sizeof(float), sizeof(double))
>
> http://stackoverflow.com/questions/14347626/how-to-define-a-block-with-2-inputs
>
>
Dear Activecat,

yes, you must specify the input size as you have done, so
gr_make_io_signature2 (2, 2, sizeof(float), sizeof(double)) is a valid
signature.


Is this considered a correct answer?
>   http://lists.gnu.org/archive/html/discuss-gnuradio/2013-01/msg00193.html
>


It would work, but for reasons of readability I suggest you use the other
form.


> Then: Working in namespace gr::howto is really deprecated. To get a
>
>> working, correctly named module infrastructure fitting your
>> installation of GR (which hopefully is either v3.6.5 or 3.7.X), please
>> use gr_modtool.
>>
>>
modtool does use these namespaces! If you generate a module called 'howto',
it will put blocks in the gr::howto namespace.

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

Reply via email to