Skip to content

Commit

Permalink
Restored formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 29, 2024
1 parent 8b1040d commit 084a6ac
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/_avif.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,7 @@ static struct PyMethodDef _encoder_methods[] = {

// AvifDecoder type definition
static PyTypeObject AvifEncoder_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "AvifEncoder",
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifEncoder",
.tp_basicsize = sizeof(AvifEncoderObject),
.tp_dealloc = (destructor)_encoder_dealloc,
.tp_flags = Py_TPFLAGS_DEFAULT,
Expand All @@ -844,8 +843,7 @@ static struct PyMethodDef _decoder_methods[] = {

// AvifDecoder type definition
static PyTypeObject AvifDecoder_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "AvifDecoder",
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifDecoder",
.tp_basicsize = sizeof(AvifDecoderObject),
.tp_itemsize = 0,
.tp_dealloc = (destructor)_decoder_dealloc,
Expand Down

0 comments on commit 084a6ac

Please sign in to comment.