- followup for issue #18997, make _clear_joined_ptr static.
This commit is contained in:
parent
dafea85190
commit
0648bf795c
|
@ -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…
Reference in New Issue