mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
This commit is contained in:
parent
44121a6bc9
commit
91a681debf
51 changed files with 661 additions and 665 deletions
|
@ -11,13 +11,13 @@ typedef struct {
|
|||
PyObject *ob_ref;
|
||||
} PyCellObject;
|
||||
|
||||
extern DL_IMPORT(PyTypeObject) PyCell_Type;
|
||||
PyAPI_DATA(PyTypeObject) PyCell_Type;
|
||||
|
||||
#define PyCell_Check(op) ((op)->ob_type == &PyCell_Type)
|
||||
|
||||
extern DL_IMPORT(PyObject *) PyCell_New(PyObject *);
|
||||
extern DL_IMPORT(PyObject *) PyCell_Get(PyObject *);
|
||||
extern DL_IMPORT(int) PyCell_Set(PyObject *, PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);
|
||||
PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *);
|
||||
|
||||
#define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
|
||||
#define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue