mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
- followup for issue #18997, make _clear_joined_ptr static.
This commit is contained in:
parent
dafea85190
commit
0648bf795c
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ do { memory -= size; printf("%8d - %s\n", memory, comment); } while (0)
|
||||||
/* Py_CLEAR for a PyObject* that uses a join flag. Pass the pointer by
|
/* Py_CLEAR for a PyObject* that uses a join flag. Pass the pointer by
|
||||||
* reference since this function sets it to NULL.
|
* reference since this function sets it to NULL.
|
||||||
*/
|
*/
|
||||||
void _clear_joined_ptr(PyObject **p)
|
static void _clear_joined_ptr(PyObject **p)
|
||||||
{
|
{
|
||||||
if (*p) {
|
if (*p) {
|
||||||
PyObject *tmp = JOIN_OBJ(*p);
|
PyObject *tmp = JOIN_OBJ(*p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue