Fix warning from PyEventPort

This commit is contained in:
Jason Paryani
2015-06-16 11:28:18 -07:00
parent a4990f0868
commit 819f21938e

View File

@@ -13,11 +13,13 @@ public:
virtual bool wait() { virtual bool wait() {
GILAcquire gil; GILAcquire gil;
PyObject_CallMethod(py_event_port, const_cast<char *>("wait"), NULL); PyObject_CallMethod(py_event_port, const_cast<char *>("wait"), NULL);
return true; // TODO: get the bool result from python
} }
virtual bool poll() { virtual bool poll() {
GILAcquire gil; GILAcquire gil;
PyObject_CallMethod(py_event_port, const_cast<char *>("poll"), NULL); PyObject_CallMethod(py_event_port, const_cast<char *>("poll"), NULL);
return true; // TODO: get the bool result from python
} }
virtual void setRunnable(bool runnable) { virtual void setRunnable(bool runnable) {