code cleanup: make local game engine functions static

This commit is contained in:
2012-09-16 00:22:55 +00:00
parent 2d6839ce65
commit beac985ab7
19 changed files with 76 additions and 75 deletions

View File

@@ -644,7 +644,7 @@ PyObject * Image_valid(PyImage * self, void * closure)
}
}
int Image_getbuffer(PyImage *self, Py_buffer *view, int flags)
static int Image_getbuffer(PyImage *self, Py_buffer *view, int flags)
{
unsigned int * image;
int ret;
@@ -691,7 +691,7 @@ error:
}
void Image_releaseBuffer(PyImage *self, Py_buffer *buffer)
static void Image_releaseBuffer(PyImage *self, Py_buffer *buffer)
{
self->m_image->m_exports--;
}