From d97eacbf2444393d2698b1627ef7e6219ae32a3e Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 16 Oct 2010 09:48:27 -0600 Subject: don't use ensure_py_gil_state for guile --- gnuradio-core/src/lib/general/gr_feval.i | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'gnuradio-core/src/lib/general') 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. -- cgit