[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] C++ Vector equivalent in Python using swig
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] C++ Vector equivalent in Python using swig |
Date: |
Wed, 14 Apr 2010 09:04:18 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Apr 14, 2010 at 01:15:17AM -0500, Mir M. Ali wrote:
> Hi,
> I have a Gnuradio block that i built in C++ that has a vector passed to it.
> When I want to import the python equivalent of that block in python how will i
> pass a vector to it. I thought lists were an equivalent but it doesn't work.
This happens all the time in the GNU Radio qa-code, so have a look there.
Tuples definitively work.
Cheers
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgpgdMWf3JRph.pgp
Description: PGP signature