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 29, 2025
1 parent 702958c commit 813f384
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src_c/renderer_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ static PyTypeObject pgImage_Type = {
.tp_doc = DOC_SDL2_VIDEO_IMAGE, .tp_methods = image_methods,
//.tp_init = (initproc)image_init,
.tp_new = PyType_GenericNew, .tp_getset = image_getset};

static PyMethodDef _image_methods[] = {{NULL, NULL, 0, NULL}};
2 changes: 0 additions & 2 deletions src_c/texture.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ static PyTypeObject pgTexture_Type = {
.tp_doc = DOC_SDL2_VIDEO_TEXTURE, .tp_methods = texture_methods,
//.tp_init = (initproc)texture_init,
.tp_new = PyType_GenericNew, .tp_getset = texture_getset};

static PyMethodDef _texture_methods[] = {{NULL, NULL, 0, NULL}};

0 comments on commit 813f384

Please sign in to comment.