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() {
GILAcquire gil;
PyObject_CallMethod(py_event_port, const_cast<char *>("wait"), NULL);
return true; // TODO: get the bool result from python
}
virtual bool poll() {
GILAcquire gil;
PyObject_CallMethod(py_event_port, const_cast<char *>("poll"), NULL);
return true; // TODO: get the bool result from python
}
virtual void setRunnable(bool runnable) {