Skip to content

Commit

Permalink
Add interface for _sdl2.video classes
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyJosip committed Jan 28, 2025
1 parent f3f0ad9 commit 6ae8965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src_c/video_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static PyTypeObject pgImage_Type = {
//.tp_init = (initproc)image_init,
.tp_new = PyType_GenericNew, .tp_getset = image_getset};

static PyMethodDef _image_methods[] = {{NULL, NULL, 0, NULL}};
static PyMethodDef video_image_methods[] = {{NULL, NULL, 0, NULL}};

MODINIT_DEFINE(_image)
{
Expand All @@ -31,7 +31,7 @@ MODINIT_DEFINE(_image)
"_image",
"docs_needed",
-1,
_image_methods,
video_image_methods,
NULL,
NULL,
NULL,
Expand Down

0 comments on commit 6ae8965

Please sign in to comment.