From d94769a975612072dc03fa378bc79856c07cd66b Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 30 Oct 2010 12:14:41 -0600 Subject: add load-extension support --- gr-radio-astronomy/src/lib/ra.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gr-radio-astronomy/src') diff --git a/gr-radio-astronomy/src/lib/ra.i b/gr-radio-astronomy/src/lib/ra.i index e258b8769..3378eae61 100644 --- a/gr-radio-astronomy/src/lib/ra.i +++ b/gr-radio-astronomy/src/lib/ra.i @@ -55,3 +55,13 @@ // private: // ra_square2_ff (); // }; + +#if SWIGGUILE +%scheme %{ +(load-extension "libguile-ra" "scm_init_gnuradio_ra_module") +%} + +%goops %{ +(use-modules (gnuradio gnuradio_core_runtime)) +%} +#endif -- cgit