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
55217d45
Commit
55217d45
authored
7 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace usage of internal C-API by correctly exported function.
parent
82e0a007
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/AsyncGen.c
Cython/Utility/AsyncGen.c
+3
-3
No files found.
Cython/Utility/AsyncGen.c
View file @
55217d45
...
...
@@ -649,7 +649,7 @@ __Pyx_async_gen_asend_new(__pyx_PyAsyncGenObject *gen, PyObject *sendval)
o
->
ags_state
=
__PYX_AWAITABLE_STATE_INIT
;
_
PyObject_GC_TRACK
((
PyObject
*
)
o
);
PyObject_GC_TRACK
((
PyObject
*
)
o
);
return
(
PyObject
*
)
o
;
}
...
...
@@ -756,7 +756,7 @@ __Pyx__PyAsyncGenValueWrapperNew(PyObject *val)
}
o
->
agw_val
=
val
;
// no Py_INCREF(val) - steals reference!
_
PyObject_GC_TRACK
((
PyObject
*
)
o
);
PyObject_GC_TRACK
((
PyObject
*
)
o
);
return
(
PyObject
*
)
o
;
}
...
...
@@ -1025,7 +1025,7 @@ __Pyx_async_gen_athrow_new(__pyx_PyAsyncGenObject *gen, PyObject *args)
o
->
agt_state
=
__PYX_AWAITABLE_STATE_INIT
;
Py_INCREF
(
gen
);
Py_XINCREF
(
args
);
_
PyObject_GC_TRACK
((
PyObject
*
)
o
);
PyObject_GC_TRACK
((
PyObject
*
)
o
);
return
(
PyObject
*
)
o
;
}
...
...
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