Skip to content

Commit 0290ea5

Browse files
CzarekCzarek
authored andcommitted
The void type is now built-in in Cython, removed the imports
of void from Cython.Shadow - do not use it, there are strange problems on some machines when trying to import Cython.Shadow, see this topic: https://groups.google.com/d/topic/cython-users/ax5_s8nlbnM/discussion
1 parent e065ac1 commit 0290ea5

9 files changed

Lines changed: 0 additions & 10 deletions

File tree

cefpython/cython_includes/cef_cookie.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ from cef_string cimport cef_string_t
66
from libcpp cimport bool as cpp_bool
77
from cef_time cimport cef_time_t
88
from libcpp.vector cimport vector as cpp_vector
9-
from Cython.Shadow import void
109
from cef_string cimport CefString
1110
from cef_ptr cimport CefRefPtr
1211

cefpython/cython_includes/cef_linux.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
include "compile_time_constants.pxi"
66

77
from cef_types_linux cimport _cef_key_info_t
8-
from Cython.Shadow import void
98
from cef_types_wrappers cimport CefStructBase
109

1110
cdef extern from "include/internal/cef_linux.h":

cefpython/cython_includes/cef_ptr.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# License: New BSD License.
33
# Website: http://code.google.com/p/cefpython/
44

5-
from Cython.Shadow import void
6-
75
cdef extern from "include/internal/cef_ptr.h":
86
cdef cppclass CefRefPtr[T]:
97
CefRefPtr()

cefpython/cython_includes/cef_request.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from cef_base cimport CefBase
66
from cef_ptr cimport CefRefPtr
77
from cef_string cimport CefString
8-
from Cython.Shadow import void
98
from cef_types cimport cef_weburlrequest_flags_t, cef_postdataelement_type_t
109
from libcpp.vector cimport vector as cpp_vector
1110
from libcpp cimport bool as cpp_bool

cefpython/cython_includes/cef_stream_static.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from cef_ptr cimport CefRefPtr
66
from cef_stream cimport CefStreamReader
7-
from Cython.Shadow import void
87
from cef_string cimport CefString
98

109
cdef extern from "include/cef_stream.h" namespace "CefStreamReader":

cefpython/cython_includes/cef_string.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ from libcpp cimport bool as cpp_bool
66
from stddef cimport wchar_t
77
from libcpp.string cimport string as cpp_string
88
from wstring cimport wstring as cpp_wstring
9-
from Cython.Shadow import void
109

1110
cdef extern from "include/internal/cef_string.h":
1211
ctypedef struct cef_string_t:
@@ -23,4 +22,3 @@ cdef extern from "include/internal/cef_string.h":
2322
cpp_wstring ToWString()
2423
char* c_str()
2524
size_t length()
26-

cefpython/cython_includes/cef_values.pxd

Whitespace-only changes.

cefpython/cython_includes/cef_win.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
include "compile_time_constants.pxi"
66

77
from windows cimport HWND, RECT, HINSTANCE, HCURSOR
8-
from Cython.Shadow import void
98
from cef_types_wrappers cimport CefStructBase
109
from cef_string cimport CefString
1110
from cef_types_win cimport _cef_key_info_t

cefpython/imports.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ if sys.version_info.major == 2:
2626
else:
2727
from urllib.request import pathname2url as urllib_pathname2url
2828

29-
from Cython.Shadow import void
3029
from cpython.version cimport PY_MAJOR_VERSION
3130
import weakref
3231

0 commit comments

Comments
 (0)