Add then function for VoidPromise

This commit is contained in:
Jason Paryani
2013-12-04 15:59:22 -08:00
parent f5bd65bf7b
commit 6fd17ff4d9
3 changed files with 25 additions and 14 deletions

View File

@@ -244,6 +244,7 @@ cdef extern from "capabilityHelper.h":
# PyPromise there(EventLoop & loop, PyPromise & promise, PyObject * func, PyObject * error_func)
PyPromise then(PyPromise & promise, PyObject * func, PyObject * error_func)
VoidPromise then(RemotePromise & promise, PyObject * func, PyObject * error_func)
PyPromise then(VoidPromise & promise, PyObject * func, PyObject * error_func)
cppclass PythonInterfaceDynamicImpl:
PythonInterfaceDynamicImpl(PyObject *)
DynamicCapability.Client new_client(InterfaceSchema&, PyObject *)