[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9969 - gnuradio/trunk/gnuradio-core/src/lib/runtime
From: |
eb |
Subject: |
[Commit-gnuradio] r9969 - gnuradio/trunk/gnuradio-core/src/lib/runtime |
Date: |
Mon, 10 Nov 2008 13:19:39 -0700 (MST) |
Author: eb
Date: 2008-11-10 13:19:39 -0700 (Mon, 10 Nov 2008)
New Revision: 9969
Modified:
gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_realtime.i
Log:
wrap the return type from gr_enable_realtime_scheduling
Modified: gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_realtime.i
===================================================================
--- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_realtime.i 2008-11-10
19:28:38 UTC (rev 9968)
+++ gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_realtime.i 2008-11-10
20:19:39 UTC (rev 9969)
@@ -20,7 +20,7 @@
* Boston, MA 02110-1301, USA.
*/
-%rename(enable_realtime_scheduling) gruel::enable_realtime_scheduling;
+%rename(enable_realtime_scheduling) gr_enable_realtime_scheduling;
// NOTE: This is duplicated from gruel/src/include/gruel/gr_realtime.h,
// and must be kept in sync with it. This is the least evil workaround
@@ -29,5 +29,16 @@
// Otherwise, they can't find #include <gruel/gr_realtime.h>, since
// pkg-config strips -I/usr/include from the --cflags path.
+namespace gruel {
+
+ typedef enum {
+ RT_OK = 0,
+ RT_NOT_IMPLEMENTED,
+ RT_NO_PRIVS,
+ RT_OTHER_ERROR
+ } rt_status_t;
+
+}
+
typedef gruel::rt_status_t gr_rt_status_t;
gr_rt_status_t gr_enable_realtime_scheduling();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9969 - gnuradio/trunk/gnuradio-core/src/lib/runtime,
eb <=