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
Gwenaël Samain
cython
Commits
32b9dd8c
Commit
32b9dd8c
authored
7 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of copy&paste type struct setup in favour of the normal way it's done everywhere else.
parent
3eec16c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Utility/AsyncGen.c
Cython/Utility/AsyncGen.c
+4
-4
No files found.
Cython/Utility/AsyncGen.c
View file @
32b9dd8c
...
...
@@ -332,7 +332,7 @@ static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_as_async = {
#endif
static
PyTypeObject
__pyx_AsyncGenType_type
=
{
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
PyVarObject_HEAD_INIT
(
0
,
0
)
"async_generator"
,
/* tp_name */
sizeof
(
__pyx_PyAsyncGenObject
),
/* tp_basicsize */
0
,
/* tp_itemsize */
...
...
@@ -563,7 +563,7 @@ static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_asend_as_async = {
static
PyTypeObject
__pyx__PyAsyncGenASendType_type
=
{
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
PyVarObject_HEAD_INIT
(
0
,
0
)
"async_generator_asend"
,
/* tp_name */
sizeof
(
__pyx_PyAsyncGenASend
),
/* tp_basicsize */
0
,
/* tp_itemsize */
...
...
@@ -681,7 +681,7 @@ __Pyx_async_gen_wrapped_val_traverse(__pyx__PyAsyncGenWrappedValue *o,
static
PyTypeObject
__pyx__PyAsyncGenWrappedValueType_type
=
{
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
PyVarObject_HEAD_INIT
(
0
,
0
)
"async_generator_wrapped_value"
,
/* tp_name */
sizeof
(
__pyx__PyAsyncGenWrappedValue
),
/* tp_basicsize */
0
,
/* tp_itemsize */
...
...
@@ -950,7 +950,7 @@ static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_athrow_as_async = {
static
PyTypeObject
__pyx__PyAsyncGenAThrowType_type
=
{
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
PyVarObject_HEAD_INIT
(
0
,
0
)
"async_generator_athrow"
,
/* tp_name */
sizeof
(
__pyx_PyAsyncGenAThrow
),
/* tp_basicsize */
0
,
/* tp_itemsize */
...
...
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