FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/cefpython/cython_includes/cef_v8_static.pxd at cefpython31 · 2php/cefpython · GitHub
2php
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
cefpython
/
cython_includes
/
cef_v8_static.pxd
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (28 loc) · 1.34 KB
Breadcrumbs
cefpython
/
cefpython
/
cython_includes
/
cef_v8_static.pxd
Copy path
File metadata and controls
35 lines (28 loc) · 1.34 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
#
License: New BSD License.
#
Website: http://code.google.com/p/cefpython/
from
cef_ptr cimport CefRefPtr
from
cef_v8 cimport CefV8Value
from
cef_string cimport CefString
from
cef_v8 cimport CefV8Handler
from
cef_v8 cimport CefV8Accessor
from
cef_v8 cimport CefV8Context
from
libcpp cimport
bool
as
cpp_bool
#
Importing static methods only in this file. This is in a separate file as we do not want
#
these names to be imported into global namespace, you will be using them like this:
#
> cimport cef_v8_static
#
> cef_v8_static.CreateArray()
cdef extern
from
"
include/cef_v8.h
"
namespace
"
CefV8Value
"
:
cdef CefRefPtr[CefV8Value] CreateArray(
int
length)
cdef CefRefPtr[CefV8Value] CreateBool(cpp_bool value)
cdef CefRefPtr[CefV8Value] CreateDouble(
double
value)
cdef CefRefPtr[CefV8Value] CreateFunction(
CefString
&
name,
CefRefPtr[CefV8Handler] handler)
cdef CefRefPtr[CefV8Value] CreateInt(
int
value)
cdef CefRefPtr[CefV8Value] CreateNull()
cdef CefRefPtr[CefV8Value] CreateObject(CefRefPtr[CefV8Accessor] accessor)
cdef CefRefPtr[CefV8Value] CreateString(CefString
&
value)
#
cdef CefRefPtr[CefV8Value] CreateUndefined()
cdef extern
from
"
include/cef_v8.h
"
namespace
"
CefV8Context
"
:
cdef CefRefPtr[CefV8Context] GetCurrentContext()
Back
|
FazBrowse Home
|
New Git URL