From 819f21938e9425f23e15bb254478cfd18e1788df Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Tue, 16 Jun 2015 11:28:18 -0700 Subject: [PATCH] Fix warning from PyEventPort --- capnp/helpers/asyncHelper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capnp/helpers/asyncHelper.h b/capnp/helpers/asyncHelper.h index 7d1b7ba..8b4e1f1 100644 --- a/capnp/helpers/asyncHelper.h +++ b/capnp/helpers/asyncHelper.h @@ -13,11 +13,13 @@ public: virtual bool wait() { GILAcquire gil; PyObject_CallMethod(py_event_port, const_cast("wait"), NULL); + return true; // TODO: get the bool result from python } virtual bool poll() { GILAcquire gil; PyObject_CallMethod(py_event_port, const_cast("poll"), NULL); + return true; // TODO: get the bool result from python } virtual void setRunnable(bool runnable) {