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
Boxiang Sun
cython
Commits
86450daf
Commit
86450daf
authored
Aug 09, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix struct field 'is_running' for generator type: T_BOOL property expects char value
parent
ba3bb949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/Generator.c
Cython/Utility/Generator.c
+3
-3
No files found.
Cython/Utility/Generator.c
View file @
86450daf
...
...
@@ -31,14 +31,14 @@ typedef struct {
PyObject_HEAD
__pyx_generator_body_t
body
;
PyObject
*
closure
;
int
is_running
;
int
resume_label
;
PyObject
*
exc_type
;
PyObject
*
exc_value
;
PyObject
*
exc_traceback
;
PyObject
*
gi_weakreflist
;
PyObject
*
classobj
;
PyObject
*
yieldfrom
;
int
resume_label
;
char
is_running
;
// using T_BOOL for property below requires char value
}
__pyx_GeneratorObject
;
static
__pyx_GeneratorObject
*
__Pyx_Generator_New
(
__pyx_generator_body_t
body
,
...
...
@@ -538,7 +538,7 @@ static PyMemberDef __pyx_Generator_memberlist[] = {
#if PY_VERSION_HEX >= 0x02060000
T_BOOL
,
#else
T_
INT
,
T_
BYTE
,
#endif
offsetof
(
__pyx_GeneratorObject
,
is_running
),
READONLY
,
...
...
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