2 #ifdef _MADARA_PYTHON_CALLBACKS_ 4 #ifndef _MADARA_PYTHON_ACQUIRE_GIL_H_ 5 #define _MADARA_PYTHON_ACQUIRE_GIL_H_ 7 #include <boost/python.hpp> 29 state_ = PyGILState_Ensure();
34 PyGILState_Release(state_);
38 PyGILState_STATE state_;
42 #endif // not defined _MADARA_PYTHON_ACQUIRE_GIL_H_ 44 #endif // defined _MADARA_PYTHON_CALLBACKS_ Copyright (c) 2015 Carnegie Mellon University.