fibers.pxd 281 B

123456789
  1. from cpython.ref cimport PyObject
  2. from folly cimport cFollyTry
  3. cdef extern from "folly/python/fibers.h" namespace "folly::python":
  4. void bridgeFibers "folly::python::bridgeFibers"[T](
  5. T(*)(),
  6. void(*)(cFollyTry[T]&&, PyObject*),
  7. PyObject* pyFuture
  8. )