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

Side by Side Diff: mojo/public/python/c_async_waiter.pxd

Issue 843523002: Delete empty mojo python package, and prefix all python packages with mojo_ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « mojo/public/python/BUILD.gn ('k') | mojo/public/python/c_core.pxd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # distutils: language = c++ 5 # distutils: language = c++
6 6
7 from libc.stdint cimport intptr_t, uint32_t, uint64_t 7 from libc.stdint cimport intptr_t, uint32_t, uint64_t
8 8
9 9
10 cdef extern from "mojo/public/c/system/core.h" nogil: 10 cdef extern from "mojo/public/c/system/core.h" nogil:
11 ctypedef uint32_t MojoHandle 11 ctypedef uint32_t MojoHandle
12 ctypedef uint64_t MojoDeadline 12 ctypedef uint64_t MojoDeadline
13 ctypedef uint32_t MojoHandleSignals 13 ctypedef uint32_t MojoHandleSignals
14 14
15 15
16 cdef extern from "mojo/public/c/environment/async_waiter.h" nogil: 16 cdef extern from "mojo/public/c/environment/async_waiter.h" nogil:
17 ctypedef intptr_t MojoAsyncWaitID 17 ctypedef intptr_t MojoAsyncWaitID
18 18
19 19
20 cdef extern from "mojo/public/python/src/common.h" \ 20 cdef extern from "mojo/public/python/src/common.h" \
21 namespace "mojo::python" nogil: 21 namespace "mojo::python" nogil:
22 cdef cppclass PythonAsyncWaiter "mojo::python::PythonAsyncWaiter": 22 cdef cppclass PythonAsyncWaiter "mojo::python::PythonAsyncWaiter":
23 PythonAsyncWaiter() 23 PythonAsyncWaiter()
24 MojoAsyncWaitID AsyncWait(MojoHandle, 24 MojoAsyncWaitID AsyncWait(MojoHandle,
25 MojoHandleSignals, 25 MojoHandleSignals,
26 MojoDeadline, 26 MojoDeadline,
27 object) 27 object)
28 void CancelWait(MojoAsyncWaitID) 28 void CancelWait(MojoAsyncWaitID)
OLDNEW
« no previous file with comments | « mojo/public/python/BUILD.gn ('k') | mojo/public/python/c_core.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698