Index: mojo/public/python/mojo/system.pyx |
diff --git a/mojo/public/python/mojo/system.pyx b/mojo/public/python/mojo/system.pyx |
index 35b8093fd8ae402a09909dd74c1c68f2cbc68ad0..3671cd7fb9eec3a9fc10342bff991b5dcd63518b 100644 |
--- a/mojo/public/python/mojo/system.pyx |
+++ b/mojo/public/python/mojo/system.pyx |
@@ -5,6 +5,7 @@ |
# distutils language = c++ |
cimport c_core |
+cimport c_thunks |
from cpython.buffer cimport PyBUF_CONTIG |
@@ -27,9 +28,9 @@ def SetSystemThunks(system_thunks_as_object): |
This should only be used by the embedder. |
""" |
- cdef const c_core.MojoSystemThunks* system_thunks = ( |
- <const c_core.MojoSystemThunks*><uintptr_t>system_thunks_as_object) |
- c_core.MojoSetSystemThunks(system_thunks) |
+ cdef const c_thunks.MojoSystemThunks* system_thunks = ( |
+ <const c_thunks.MojoSystemThunks*><uintptr_t>system_thunks_as_object) |
+ c_thunks.MojoSetSystemThunks(system_thunks) |
mojo.system_impl.SetSystemThunks(system_thunks_as_object) |
qsr
2014/12/12 14:27:06
Rethinking about this. This should be done in the
etiennej
2014/12/12 15:29:36
Done.
|
HANDLE_INVALID = c_core.MOJO_HANDLE_INVALID |
@@ -772,4 +773,4 @@ class RunLoop(object): |
return None |
-_ASYNC_WAITER = mojo.system_impl.ASYNC_WAITER |
+_ASYNC_WAITER = mojo.system_impl.AsyncWaiter() |