discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: Accessing typedefs from python using swig


From: Karthik Vijayraghavan
Subject: [Discuss-gnuradio] Re: Accessing typedefs from python using swig
Date: Sun, 5 Oct 2008 15:39:10 -0700

Explicitly adding the typedef definition to the .i file solved the problem.

Karthik

On Sun, Oct 5, 2008 at 1:39 AM, Karthik Vijayraghavan
<address@hidden> wrote:
> This is probably more of a swig question. While writing my own block,
> I have a couple of typedefs which I store in a separate .h file and
> include in the code for my block. What should I do to be able to
> access these types from within python? I have tried including the .h
> files in the swig .i files like
>
> %{
> #include "myblock.h"
> #include "mytypedefs.h"
> %}
>
> But this doesn't seem to help. Any pointer?
>
> Karthik
>




reply via email to

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