diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
commit | e93237dfcc4ee4feee62adafb4e7899487ca864b (patch) | |
tree | b78abc265e7fb10639492f62e4ffd0ce1bcc67af /Include/methodobject.h | |
parent | d586559c31b77938b514cec99f2f8b431a34dff5 (diff) | |
download | cpython-git-e93237dfcc4ee4feee62adafb4e7899487ca864b.tar.gz |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r-- | Include/methodobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index 511a747a92..810a69c465 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -13,7 +13,7 @@ extern "C" { PyAPI_DATA(PyTypeObject) PyCFunction_Type; -#define PyCFunction_Check(op) (Py_Type(op) == &PyCFunction_Type) +#define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) typedef PyObject *(*PyCFunction)(PyObject *, PyObject *); typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *, |