~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*.c: Use `PyVarObject_HEAD_INIT' to initialize type object headers.
[catacomb-python]
/
catacomb.c
diff --git
a/catacomb.c
b/catacomb.c
index
a914bff
..
7d3cba7
100644
(file)
--- a/
catacomb.c
+++ b/
catacomb.c
@@
-231,7
+231,7
@@
PyObject *make_grouptab(const void *tab, size_t esz,
}
static const PyTypeObject thingtab_pytype_skel = {
- Py
Object_HEAD_INIT(0) 0,
/* Header */
+ Py
VarObject_HEAD_INIT(0, 0)
/* Header */
"_MiscTable", /* @tp_name@ */
sizeof(thingtab_pyobj), /* @tp_basicsize@ */
0, /* @tp_itemsize@ */