summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_list.h')
-rw-r--r--Include/internal/pycore_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_list.h b/Include/internal/pycore_list.h
index 50dc13c..2a82912 100644
--- a/Include/internal/pycore_list.h
+++ b/Include/internal/pycore_list.h
@@ -10,12 +10,12 @@ extern "C" {
#include "pycore_freelist.h" // _PyFreeListState
-extern PyObject* _PyList_Extend(PyListObject *, PyObject *);
+PyAPI_FUNC(PyObject*) _PyList_Extend(PyListObject *, PyObject *);
extern void _PyList_DebugMallocStats(FILE *out);
#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
-extern int
+PyAPI_FUNC(int)
_PyList_AppendTakeRefListResize(PyListObject *self, PyObject *newitem);
// In free-threaded build: self should be locked by the caller, if it should be thread-safe.
@@ -54,7 +54,7 @@ typedef struct {
PyListObject *it_seq; /* Set to NULL when iterator is exhausted */
} _PyListIterObject;
-extern PyObject *_PyList_FromArraySteal(PyObject *const *src, Py_ssize_t n);
+PyAPI_FUNC(PyObject *)_PyList_FromArraySteal(PyObject *const *src, Py_ssize_t n);
#ifdef __cplusplus
}