discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Accessing typedefs from python using swig


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

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]