Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: mojo/public/python/c_core.pxd

Issue 1779353002: Deprecate mojo/public/c/system/core.h. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/python/c_async_waiter.pxd ('k') | services/js/system/mojo_runner_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/c_core.pxd
diff --git a/mojo/public/python/c_core.pxd b/mojo/public/python/c_core.pxd
index fd8fb89c937b7cb28dfbe6fe18a252ff0d075ceb..f8198aade2e101a762cef9908b2941355663ec7c 100644
--- a/mojo/public/python/c_core.pxd
+++ b/mojo/public/python/c_core.pxd
@@ -13,8 +13,7 @@ from cpython.buffer cimport PyObject_GetBuffer
from cpython.mem cimport PyMem_Malloc, PyMem_Free
from libc.stdint cimport int32_t, int64_t, uint32_t, uint64_t, uintptr_t
-cdef extern from "mojo/public/c/system/core.h" nogil:
- # types.h
+cdef extern from "mojo/public/c/system/types.h" nogil:
ctypedef int64_t MojoTimeTicks
ctypedef uint32_t MojoHandle
@@ -53,7 +52,7 @@ cdef extern from "mojo/public/c/system/core.h" nogil:
MojoHandleSignals satisfied_signals
MojoHandleSignals satisfiable_signals
- # functions.h
+cdef extern from "mojo/public/c/system/functions.h" nogil:
MojoTimeTicks MojoGetTimeTicksNow()
MojoResult MojoClose(MojoHandle handle)
MojoResult MojoWait "MojoWait"(MojoHandle handle,
@@ -67,7 +66,7 @@ cdef extern from "mojo/public/c/system/core.h" nogil:
uint32_t* result_index,
MojoHandleSignalsState* signals_states)
- # message_pipe.h
+cdef extern from "mojo/public/c/system/message_pipe.h" nogil:
ctypedef uint32_t MojoCreateMessagePipeOptionsFlags
const MojoCreateMessagePipeOptionsFlags MOJO_CREATE_MESSAGE_PIPE_OPTIONS_FLAG_NONE
@@ -103,7 +102,7 @@ cdef extern from "mojo/public/c/system/core.h" nogil:
uint32_t* num_handles,
MojoReadMessageFlags flags)
- # data_pipe.h
+cdef extern from "mojo/public/c/system/data_pipe.h" nogil:
ctypedef uint32_t MojoCreateDataPipeOptionsFlags
const MojoCreateDataPipeOptionsFlags MOJO_CREATE_DATA_PIPE_OPTIONS_FLAG_NONE
@@ -163,7 +162,7 @@ cdef extern from "mojo/public/c/system/core.h" nogil:
MojoHandle data_pipe_consumer_handle,
uint32_t num_bytes_read)
- # buffer.h
+cdef extern from "mojo/public/c/system/buffer.h" nogil:
ctypedef uint32_t MojoCreateSharedBufferOptionsFlags
const MojoCreateSharedBufferOptionsFlags MOJO_CREATE_SHARED_BUFFER_OPTIONS_FLAG_NONE
« no previous file with comments | « mojo/public/python/c_async_waiter.pxd ('k') | services/js/system/mojo_runner_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698