Add some spaces around {}
This commit is contained in:
parent
408d2ae4c8
commit
6faa9c9842
|
@ -70,11 +70,11 @@ For Python, PyObject_HEAD and PyObject_VAR_HEAD will be changed
|
|||
to not list all fields anymore, but list a single field of type
|
||||
PyObject/PyVarObject::
|
||||
|
||||
typedef struct _object{
|
||||
typedef struct _object {
|
||||
_PyObject_HEAD_EXTRA
|
||||
Py_ssize_t ob_refcnt;
|
||||
struct _typeobject *ob_type;
|
||||
}PyObject;
|
||||
} PyObject;
|
||||
|
||||
typedef struct {
|
||||
PyObject ob_base;
|
||||
|
@ -87,7 +87,7 @@ PyObject/PyVarObject::
|
|||
Types defined as fixed-size structure will then include PyObject
|
||||
as its first field; variable-sized objects PyVarObject. E.g.::
|
||||
|
||||
typedef struct{
|
||||
typedef struct {
|
||||
PyObject ob_base;
|
||||
PyObject *start, *stop, *step;
|
||||
} PySliceObject;
|
||||
|
|
Loading…
Reference in New Issue