Skip to content

Commit

Permalink
Use default PyTypeObject values
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 3, 2025
1 parent 9abfdbc commit 490e988
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/_avif.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ static PyTypeObject AvifEncoder_Type = {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifEncoder",
.tp_basicsize = sizeof(AvifEncoderObject),
.tp_dealloc = (destructor)_encoder_dealloc,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_methods = _encoder_methods,
};

Expand All @@ -899,7 +898,6 @@ static PyTypeObject AvifDecoder_Type = {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifDecoder",
.tp_basicsize = sizeof(AvifDecoderObject),
.tp_dealloc = (destructor)_decoder_dealloc,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_methods = _decoder_methods,
};

Expand Down

0 comments on commit 490e988

Please sign in to comment.