%include <gr_top_block.i> in gr_top_block.i?

SWIG Masters,

Was wondering if the line:

%include <gr_top_block.i>

… was intentional in:

gnuradio/gnuradio-core/src/lib/runtime/gr_top_block.i

If so, what does this apparent self-reference (recursive?) do?

Regards.

On Wed, Jun 13, 2012 at 3:25 PM, Richard Graham
[email protected]wrote:

%include <gr_top_block.i>

… was intentional in:

gnuradio/gnuradio-core/src/lib/runtime/gr_top_block.i

If so, what does this apparent self-reference (recursive?) do?

Apparently it does nothing at all, and SWIG doesn’t mind :slight_smile:

That line got added somehow when I did the top_block/hier_block2 work
back
in 2007 (!) and has gone unnoticed until now. I’ll remove it.

Thanks.

Johnathan