summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--type_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/type_decoder.c b/type_decoder.c
index d21e92d..38e0a03 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -1196,7 +1196,7 @@ static PyMethodDef Decoder_methods[] = {
Decoder_has_channel, METH_VARARGS,
Decoder_has_channel_doc,
},
- {NULL, NULL, 0, NULL}
+ ALL_ZERO,
};
/**
@@ -1213,7 +1213,7 @@ SRD_PRIV PyObject *srd_Decoder_type_new(void)
{ Py_tp_doc, Decoder_doc },
{ Py_tp_methods, Decoder_methods },
{ Py_tp_new, (void *)&PyType_GenericNew },
- { 0, NULL }
+ ALL_ZERO,
};
PyObject *py_obj;
PyGILState_STATE gstate;