summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorRob Savoye2010-10-16 09:48:27 -0600
committerEric Blossom2010-11-10 12:10:45 -0800
commitd97eacbf2444393d2698b1627ef7e6219ae32a3e (patch)
tree73ec04138ea9c6d89103e5f7f05507534bac6639 /gnuradio-core/src/lib/general
parent54bfe42875fc8625b193b63dc8a4d7327e89edc2 (diff)
downloadgnuradio-d97eacbf2444393d2698b1627ef7e6219ae32a3e.tar.gz
gnuradio-d97eacbf2444393d2698b1627ef7e6219ae32a3e.tar.bz2
gnuradio-d97eacbf2444393d2698b1627ef7e6219ae32a3e.zip
don't use ensure_py_gil_state for guile
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.