On Mon, Feb 04, 2008 at 03:36:26PM -0500, Tim Meehan wrote: > The relevant line in if_tun.h is > > #define TUNSETIFF _IOW('T', 202, int) > > I was not sure how to swig the _IOW stuff. If anyone can provide a hint I > will try. >
It may be easiest to write a small stand-alone function that just returns the value of TUNSETIFF and then swig that. E.g., int get_TUNSETIFF() { #ifdef TUNSETIFF return TUNSETIFF; #else return -1; #endif } Feel free to drop it into gnuradio-core/src/lib/general and send a patch. Thanks, Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio