summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_feval.i14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_feval.i b/gnuradio-core/src/lib/general/gr_feval.i
index 8594a6fa1..9a1269375 100644
--- a/gnuradio-core/src/lib/general/gr_feval.i
+++ b/gnuradio-core/src/lib/general/gr_feval.i
@@ -65,8 +65,8 @@
// catch (Swig::DirectorException &e) { std::cerr << e.getMessage(); SWIG_fail; }
//}
+#ifdef SWIGPYTHON
%{
-
// class that ensures we acquire and release the Python GIL
class ensure_py_gil_state {
@@ -77,6 +77,18 @@ public:
};
%}
+#endif
+
+#ifdef SWIGGUILE
+// FIXME: this is a bogus stub, just here so things build
+class ensure_py_gil_state {
+public:
+ ensure_py_gil_state() { }
+ ~ensure_py_gil_state() { }
+};
+
+#warning "class ensure_py_gil_state needs to be implemented!"
+#endif
/*
* These are the real C++ base classes, however we don't want these exposed.