forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_ptr.pxd
More file actions
21 lines (20 loc) · 809 Bytes
/
cef_ptr.pxd
File metadata and controls
21 lines (20 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) 2012 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
from libcpp cimport nullptr_t, bool
cdef extern from "include/internal/cef_ptr.h":
cdef cppclass CefRefPtr[T]:
CefRefPtr()
# noinspection PyUnresolvedReferences
CefRefPtr(T* p)
# noinspection PyUnresolvedReferences
CefRefPtr(const CefRefPtr[T]& r)
# noinspection PyUnresolvedReferences
T* get()
# noinspection PyUnresolvedReferences
void swap(CefRefPtr[T]& r)
# noinspection PyUnresolvedReferences
CefRefPtr[T]& Assign "operator="(nullptr_t)
CefRefPtr[T]& Assign "operator="(T* p)
bool operator bool()
bool operator!()