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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
718ac75f
Commit
718ac75f
authored
Jun 23, 2012
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #134 from tito/fix-win32-constants
fixes for gcc error on "initializer element is not constant"
parents
8a5206ff
7a23af71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Cython/Utility/Generator.c
Cython/Utility/Generator.c
+4
-2
No files found.
Cython/Utility/Generator.c
View file @
718ac75f
...
...
@@ -574,7 +574,7 @@ static PyTypeObject __pyx_GeneratorType_type = {
0
,
/*tp_hash*/
0
,
/*tp_call*/
0
,
/*tp_str*/
PyObject_GenericGetAttr
,
/*tp_getattro*/
NULL
,
/*tp_getattro*/
0
,
/*tp_setattro*/
0
,
/*tp_as_buffer*/
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_HAVE_GC
,
/* tp_flags*/
...
...
@@ -583,7 +583,7 @@ static PyTypeObject __pyx_GeneratorType_type = {
0
,
/*tp_clear*/
0
,
/*tp_richcompare*/
offsetof
(
__pyx_GeneratorObject
,
gi_weakreflist
),
/* tp_weaklistoffse */
PyObject_SelfIter
,
/*tp_iter*/
NULL
,
/*tp_iter*/
(
iternextfunc
)
__Pyx_Generator_Next
,
/*tp_iternext*/
__pyx_Generator_methods
,
/*tp_methods*/
__pyx_Generator_memberlist
,
/*tp_members*/
...
...
@@ -638,5 +638,7 @@ static int __pyx_Generator_init(void) {
return
-
1
;
}
__pyx_GeneratorType
=
&
__pyx_GeneratorType_type
;
__pyx_GeneratorType
->
tp_str
=
PyObject_GenericGetAttr
;
__pyx_GeneratorType
->
tp_iter
=
PyObject_SelfIter
;
return
0
;
}
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