discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Exporting C++ hier_block2s via SWIG


From: Martin Braun
Subject: [Discuss-gnuradio] Exporting C++ hier_block2s via SWIG
Date: Mon, 23 Feb 2009 17:18:57 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

Hi,

I was wondering if it's possible to write a gr_hier_block2 in C++ and
then export it to SWIG just like the the gr_blocks are. I tried using
GR_SWIG_BLOCK_MAGIC, but not surprisingly the SWIG code fails to compile
saying 

/usr/include/boost/shared_ptr.hpp:211: Error: error: cannot convert
'specest_welch* const' to 'gr_block*' in initialization.

Is there any easy way to do this? Basically, what I want is a
GR_SWIG_HIERBLOCK_MAGIC() function, I suppose.
Has anyone done something like this before?

Cheers,
MB



-- 
Dipl.-Ing. Martin Braun           Phone: +49-(0)721-608 3790
Institut fuer Nachrichtentechnik  Fax:   +49-(0)721-608 6071
Universitaet Karlsruhe (TH)       http://www.int.uni-karlsruhe.de/

Attachment: pgpwD9RN4qaoJ.pgp
Description: PGP signature


reply via email to

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