Forum: GNU Radio Accessing typedefs from python using swig

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Karthik Vijayraghavan (Guest)
on 2008-10-05 12:40
(Received via mailing list)
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 Vijayraghavan (Guest)
on 2008-10-06 02:53
(Received via mailing list)
Explicitly adding the typedef definition to the .i file solved the


On Sun, Oct 5, 2008 at 1:39 AM, Karthik Vijayraghavan
This topic is locked and can not be replied to.