mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Add DL_IMPORT(returntype) for all officially exported functions.
This commit is contained in:
parent
b241b67b89
commit
43466ec7b0
44 changed files with 401 additions and 398 deletions
|
@ -28,9 +28,9 @@ extern DL_IMPORT(PyTypeObject) PySlice_Type;
|
|||
|
||||
#define PySlice_Check(op) ((op)->ob_type == &PySlice_Type)
|
||||
|
||||
PyObject *PySlice_New Py_PROTO((
|
||||
DL_IMPORT(PyObject *) PySlice_New Py_PROTO((
|
||||
PyObject* start, PyObject* stop, PyObject* step));
|
||||
int PySlice_GetIndices Py_PROTO((
|
||||
DL_IMPORT(int) PySlice_GetIndices Py_PROTO((
|
||||
PySliceObject *r, int length, int *start, int *stop, int *step));
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue