comparison PyParameterDescriptor.h @ 79:f5c028376bf9

Some old changes that, I think, probably did not help anything
author Chris Cannam
date Wed, 12 Aug 2015 15:25:04 +0100
parents 27bab3a16c9a
children
comparison
equal deleted inserted replaced
78:e101ff25d757 79:f5c028376bf9
17 typedef struct { 17 typedef struct {
18 PyObject_HEAD 18 PyObject_HEAD
19 PyObject *dict; 19 PyObject *dict;
20 } ParameterDescriptorObject; 20 } ParameterDescriptorObject;
21 21
22 PyAPI_DATA(PyTypeObject) ParameterDescriptor_Type; 22 extern PyTypeObject ParameterDescriptor_Type;
23 23
24 #define PyParameterDescriptor_CheckExact(v) ((v)->ob_type == &ParameterDescriptor_Type) 24 #define PyParameterDescriptor_CheckExact(v) ((v)->ob_type == &ParameterDescriptor_Type)
25 #define PyParameterDescriptor_Check(v) PyObject_TypeCheck(v, &ParameterDescriptor_Type) 25 #define PyParameterDescriptor_Check(v) PyObject_TypeCheck(v, &ParameterDescriptor_Type)
26 26
27 /* PyParameterDescriptor C++ API */ 27 /* PyParameterDescriptor C++ API */