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/
pgp5mJtJ3xRYH.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
