Skip to content

Commit

Permalink
fix missing static keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
szabolcsdombi committed Jan 13, 2024
1 parent 37428f4 commit b31d564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zengl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ static PyObject * blit_image_face(ImageFace * src, PyObject * dst, PyObject * sr
Py_RETURN_NONE;
}

int parse_size_and_offset(ImageFace * self, PyObject * size_arg, PyObject * offset_arg, IntPair * size, IntPair * offset) {
static int parse_size_and_offset(ImageFace * self, PyObject * size_arg, PyObject * offset_arg, IntPair * size, IntPair * offset) {
if (size_arg == Py_None && offset_arg != Py_None) {
PyErr_Format(PyExc_ValueError, "the size is required when the offset is not None");
return 0;
Expand Down

0 comments on commit b31d564

Please sign in to comment.