[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Migration to gruel for realtime scheduling broke
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Migration to gruel for realtime scheduling broke python bindings |
Date: |
Wed, 24 Sep 2008 08:55:42 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Wed, Sep 24, 2008 at 05:22:01PM +0200, Stefan Brüns wrote:
> 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
>
Thanks! Applied in 9652.
Eric