discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] It must be defined inside the context of a functi


From: Martin Braun
Subject: Re: [Discuss-gnuradio] It must be defined inside the context of a function !
Date: Thu, 16 Jan 2014 11:54:01 +0100

On Thu, Jan 16, 2014 at 10:13 AM, Activecat <address@hidden> 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.




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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]