Initial wrapping of kj/async Promises and EventLoop

This commit is contained in:
Jason Paryani
2013-09-15 16:52:34 -07:00
parent fa5fe5a92c
commit d4150227a7
4 changed files with 135 additions and 0 deletions

25
capnp/async.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef __PYX_HAVE__capnp__async
#define __PYX_HAVE__capnp__async
#ifndef __PYX_HAVE_API__capnp__async
#ifndef __PYX_EXTERN_C
#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#else
#define __PYX_EXTERN_C extern
#endif
#endif
__PYX_EXTERN_C DL_IMPORT(PyObject) *wrap_kj_exception( ::kj::Exception &);
#endif /* !__PYX_HAVE_API__capnp__async */
#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initasync(void);
#else
PyMODINIT_FUNC PyInit_async(void);
#endif
#endif /* !__PYX_HAVE__capnp__async */