From 61bd98faa4d10a4791669f4f1c196268a6178a4e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 31 Oct 2012 21:50:43 -0700 Subject: swig work on top and hier --- python/runtime.i | 71 -------------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 python/runtime.i (limited to 'python/runtime.i') diff --git a/python/runtime.i b/python/runtime.i deleted file mode 100644 index 8895a7f..0000000 --- a/python/runtime.i +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2012 Josh Blum -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with this program. If not, see . - -#define GR_CORE_API -#define GRAS_API - -//not here to fight you swig, reference() is ambigi with shared ptr, but whatevs -%ignore gri_agc_cc::reference(); -%ignore gri_agc2_ff::reference(); -%ignore gri_agc2_cc::reference(); - -%{ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -%} - -%include -%include -%include -%include - -#ifdef SW_RUNTIME - -%include "gras.i" - -#else - -//the bare minimum block inheritance interface to make things work but keep swig cxx file size down -%include -namespace gnuradio -{ - struct Block : Element{}; - struct HierBlock : Element{}; -} -struct gr_hier_block2 : gnuradio::HierBlock{}; -struct gr_block : gnuradio::Block{}; -struct gr_sync_block : gr_block{}; -struct gr_sync_interpolator : gr_sync_block{}; -struct gr_sync_decimator : gr_sync_block{}; - -#endif -- cgit