// // 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 io_sig 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 #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