Index: mojo/public/python/mojo/c_async_waiter.pxd |
diff --git a/mojo/public/python/mojo/c_environment.pxd b/mojo/public/python/mojo/c_async_waiter.pxd |
similarity index 52% |
copy from mojo/public/python/mojo/c_environment.pxd |
copy to mojo/public/python/mojo/c_async_waiter.pxd |
index 3dfa79960ed5c17786b91e364f572f7099d0ab0c..e2c3048ae0647d6e54f8b4ac0cffa02e0008f722 100644 |
--- a/mojo/public/python/mojo/c_environment.pxd |
+++ b/mojo/public/python/mojo/c_async_waiter.pxd |
@@ -4,7 +4,7 @@ |
# distutils: language = c++ |
-from libc.stdint cimport int64_t, intptr_t, uint32_t, uint64_t |
+from libc.stdint cimport intptr_t, uint32_t, uint64_t |
cdef extern from "mojo/public/c/system/core.h" nogil: |
@@ -13,18 +13,12 @@ cdef extern from "mojo/public/c/system/core.h" nogil: |
ctypedef uint32_t MojoHandleSignals |
-cdef extern from "mojo/public/cpp/bindings/callback.h" nogil: |
- cdef cppclass CClosure "mojo::Callback<void()>": |
- CClosure() |
- |
- |
cdef extern from "mojo/public/c/environment/async_waiter.h" nogil: |
ctypedef intptr_t MojoAsyncWaitID |
-cdef extern from "mojo/public/python/src/python_system_helper.h" \ |
+cdef extern from "mojo/public/python/src/common.h" \ |
namespace "mojo::python" nogil: |
- cdef CClosure BuildClosure(object) |
cdef cppclass PythonAsyncWaiter "mojo::python::PythonAsyncWaiter": |
PythonAsyncWaiter() |
MojoAsyncWaitID AsyncWait(MojoHandle, |
@@ -32,18 +26,3 @@ cdef extern from "mojo/public/python/src/python_system_helper.h" \ |
MojoDeadline, |
object) |
void CancelWait(MojoAsyncWaitID) |
- |
- |
-cdef extern from "mojo/public/cpp/utility/run_loop.h" nogil: |
- cdef cppclass CRunLoop "mojo::RunLoop": |
- CRunLoop() |
- void Run() except * |
- void RunUntilIdle() except * |
- void Quit() |
- void PostDelayedTask(CClosure&, int64_t) |
- cdef CRunLoop CRunLoopCurrent "mojo::RunLoop::current"() |
- |
- |
-cdef extern from "mojo/public/cpp/environment/environment.h" nogil: |
- cdef cppclass CEnvironment "mojo::Environment": |
- CEnvironment() |