Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
40d2c834
Commit
40d2c834
authored
6 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix another C89 "variable declared after code" compile error.
parent
b745ea05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Utility/ExtensionTypes.c
Cython/Utility/ExtensionTypes.c
+2
-1
No files found.
Cython/Utility/ExtensionTypes.c
View file @
40d2c834
...
...
@@ -17,6 +17,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
// tp_dictoffset (i.e. there is no __dict__ attribute in the object
// structure), we need to check that none of the base classes sets
// it either.
int
r
;
PyObject
*
bases
=
t
->
tp_bases
;
if
(
bases
)
{
...
...
@@ -64,7 +65,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
t
->
tp_flags
|=
Py_TPFLAGS_HEAPTYPE
;
#endif
int
r
=
PyType_Ready
(
t
);
r
=
PyType_Ready
(
t
);
#if PY_VERSION_HEX >= 0x03050000
t
->
tp_flags
&=
~
Py_TPFLAGS_HEAPTYPE
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment