summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/swig/realtime.i
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/swig/realtime.i')
-rw-r--r--gnuradio-runtime/swig/realtime.i19
1 files changed, 8 insertions, 11 deletions
diff --git a/gnuradio-runtime/swig/realtime.i b/gnuradio-runtime/swig/realtime.i
index d408249a19..82fc10e74c 100644
--- a/gnuradio-runtime/swig/realtime.i
+++ b/gnuradio-runtime/swig/realtime.i
@@ -30,16 +30,13 @@
// pkg-config strips -I/usr/include from the --cflags path.
namespace gr {
- namespace impl {
- typedef enum {
- RT_OK = 0,
- RT_NOT_IMPLEMENTED,
- RT_NO_PRIVS,
- RT_OTHER_ERROR
- } rt_status_t;
- }
-}
+ typedef enum {
+ RT_OK = 0,
+ RT_NOT_IMPLEMENTED,
+ RT_NO_PRIVS,
+ RT_OTHER_ERROR
+ } rt_status_t;
-typedef gr::rt_status_t rt_status_t;
-rt_status_t gr::enable_realtime_scheduling();
+ gr::rt_status_t gr::enable_realtime_scheduling();
+}