From 90aa7646affbaee9628ca6ea6a702aec17b3b550 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 19 Dec 2007 02:45:37 +0000 Subject: #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. --- Include/funcobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/funcobject.h') diff --git a/Include/funcobject.h b/Include/funcobject.h index 798b257d07..058c6bff36 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -41,7 +41,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PyFunction_Type; -#define PyFunction_Check(op) (Py_Type(op) == &PyFunction_Type) +#define PyFunction_Check(op) (Py_TYPE(op) == &PyFunction_Type) PyAPI_FUNC(PyObject *) PyFunction_New(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *); -- cgit v1.2.1