executor.pxd 390 B

123456789101112
  1. from libcpp.memory cimport unique_ptr
  2. from folly cimport cFollyExecutor
  3. cdef extern from "folly/python/AsyncioExecutor.h" namespace "folly::python":
  4. cdef cppclass cAsyncioExecutor "folly::python::AsyncioExecutor"(cFollyExecutor):
  5. int fileno()
  6. void drive()
  7. cdef class AsyncioExecutor:
  8. cdef unique_ptr[cAsyncioExecutor] cQ
  9. cdef api cAsyncioExecutor* get_executor()