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

Side by Side Diff: mojo/python/content_handler/c_base.pxd

Issue 796373006: Content handler for python. (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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 # distutils: language = c++
6
7 from cpython.buffer cimport PyBUF_CONTIG
8 from cpython.buffer cimport PyBUF_CONTIG_RO
9 from cpython.buffer cimport Py_buffer
10 from cpython.buffer cimport PyBuffer_FillInfo
11 from cpython.buffer cimport PyBuffer_Release
12 from cpython.buffer cimport PyObject_GetBuffer
13 from cpython.mem cimport PyMem_Malloc, PyMem_Free
14 from libc.stdint cimport int32_t, int64_t, uint32_t, uint64_t, uintptr_t, intptr _t
qsr 2015/01/07 15:14:46 Do you need all those cimports?
etiennej 2015/01/08 11:23:13 Done.
15
16 cimport c_async_waiter
17
18 cdef extern from "mojo/python/content_handler/python_system_impl_helper.h" \
19 namespace "mojo::python" nogil:
20 cdef cppclass PythonRunLoop "mojo::python::PythonRunLoop":
21 PythonRunLoop()
22 void Run()
23 void RunUntilIdle()
24 void Quit()
25 void PostDelayedTask(object, int64_t)
26 cdef c_async_waiter.PythonAsyncWaiter* NewAsyncWaiter()
27
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698