1 from cpython.ref cimport PyObject
2 from folly cimport cFollyTry, cFollyFuture, cFollyExecutor
4 cdef extern from "folly/python/futures.h" namespace "folly::python":
7 void(*)(cFollyTry[T]&&, PyObject*),
10 # No clue but cython overloading is getting confused so we alias
11 void bridgeFutureWith "folly::python::bridgeFuture"[T](
12 cFollyExecutor* executor,
13 cFollyFuture[T]&& fut,
14 void(*)(cFollyTry[T]&&, PyObject*),