mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +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
|
@ -69,11 +69,11 @@ extern DL_IMPORT(PyTypeObject) PyCode_Type;
|
|||
|
||||
/* Public interface */
|
||||
struct _node; /* Declare the existence of this type */
|
||||
PyCodeObject *PyNode_Compile Py_PROTO((struct _node *, char *));
|
||||
PyCodeObject *PyCode_New Py_PROTO((
|
||||
DL_IMPORT(PyCodeObject *) PyNode_Compile Py_PROTO((struct _node *, char *));
|
||||
DL_IMPORT(PyCodeObject *) PyCode_New Py_PROTO((
|
||||
int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *,
|
||||
PyObject *, PyObject *, int, PyObject *)); /* same as struct above */
|
||||
int PyCode_Addr2Line Py_PROTO((PyCodeObject *, int));
|
||||
DL_IMPORT(int) PyCode_Addr2Line Py_PROTO((PyCodeObject *, int));
|
||||
|
||||
/* for internal use only */
|
||||
#define _PyCode_GETCODEPTR(co, pp) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue