forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_task.pxd
More file actions
19 lines (14 loc) · 565 Bytes
/
cef_task.pxd
File metadata and controls
19 lines (14 loc) · 565 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/cefpython/
from libcpp cimport bool as cpp_bool
# noinspection PyUnresolvedReferences
cimport cef_types
from cef_ptr cimport CefRefPtr
cdef extern from "include/cef_task.h":
ctypedef int CefThreadId
ctypedef cef_types.cef_thread_id_t CefThreadId
cdef cpp_bool CefCurrentlyOn(CefThreadId)
cdef cpp_bool CefPostTask(CefThreadId threadId, CefRefPtr[CefTask] task)
cdef cppclass CefTask:
pass