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


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to