mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +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
|
@ -61,9 +61,9 @@ extern DL_IMPORT(PyTypeObject) PyInt_Type;
|
|||
|
||||
#define PyInt_Check(op) ((op)->ob_type == &PyInt_Type)
|
||||
|
||||
extern PyObject *PyInt_FromLong Py_PROTO((long));
|
||||
extern long PyInt_AsLong Py_PROTO((PyObject *));
|
||||
extern long PyInt_GetMax Py_PROTO((void));
|
||||
extern DL_IMPORT(PyObject *) PyInt_FromLong Py_PROTO((long));
|
||||
extern DL_IMPORT(long) PyInt_AsLong Py_PROTO((PyObject *));
|
||||
extern DL_IMPORT(long) PyInt_GetMax Py_PROTO((void));
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue