Migration to gruel for realtime scheduling broke python bindings

Changeset 9607+9610 broke python bindins, as the enums moved out of
SWIGs
scope.

The following patch fixes this:

=== modified file ‘gnuradio-core/src/lib/runtime/gr_realtime.i’
— gnuradio-core/src/lib/runtime/gr_realtime.i 2006-08-03 03:51:51
+0000
+++ gnuradio-core/src/lib/runtime/gr_realtime.i 2008-09-24 15:14:57
+0000
@@ -1,4 +1,4 @@
-%rename(enable_realtime_scheduling) gr_enable_realtime_scheduling;
+%rename(enable_realtime_scheduling) gruel::enable_realtime_scheduling;

-%include <gr_realtime.h>
+%include <gruel/realtime.h>


The %rename serves only for documentary purpose, as SWIG strips
namespaces by
default. The patch restores the previous functionality, as well as
exposes
the additional interfaces introduced by the migration to gruel, namely
gruel::enable_realtime_scheduling(gruel::rt_sched_param)

Stefan


Stefan Brüns / Bergstraße 21 / 52062 Aachen
mailto:lurch at gmx.li http://www.kawo1.rwth-aachen.de/~lurchi/
phone: +49 241 53809034 mobile: +49 151 50412019

On Wed, Sep 24, 2008 at 05:22:01PM +0200, Stefan Brüns wrote:

+%rename(enable_realtime_scheduling) gruel::enable_realtime_scheduling;

Stefan

Thanks! Applied in 9652.

Eric