Skip to content

Commit 39b68cf

Browse files
committed
Fix formatting
1 parent 677b78b commit 39b68cf

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src_c/base.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ pgBuffer_Release(pg_buffer *);
104104
static int
105105
pgObject_GetBuffer(PyObject *, pg_buffer *, int);
106106
static inline PyObject *
107-
pgObject_getRectHelper(PyObject *, PyObject *const *, Py_ssize_t,
108-
PyObject *, char *);
107+
pgObject_getRectHelper(PyObject *, PyObject *const *, Py_ssize_t, PyObject *,
108+
char *);
109109
static int
110110
pgGetArrayInterface(PyObject **, PyObject *);
111111
static int
@@ -1376,8 +1376,8 @@ pgObject_GetBuffer(PyObject *obj, pg_buffer *pg_view_p, int flags)
13761376
}
13771377

13781378
static inline PyObject *
1379-
pgObject_getRectHelper(PyObject *rect, PyObject *const *args,
1380-
Py_ssize_t nargs, PyObject *kwnames, char *type)
1379+
pgObject_getRectHelper(PyObject *rect, PyObject *const *args, Py_ssize_t nargs,
1380+
PyObject *kwnames, char *type)
13811381
{
13821382
if (nargs > 0) {
13831383
Py_DECREF(rect);

src_c/include/_pygame.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,9 @@ typedef struct pg_bufferinfo_s {
189189
#define pg_SetDefaultConvertFormat \
190190
(*(void (*)(Uint32))PYGAMEAPI_GET_SLOT(base, 28))
191191

192-
#define pgObject_getRectHelper \
193-
(*(PyObject * (*)(PyObject *, PyObject *const *, Py_ssize_t, PyObject *, char *))PYGAMEAPI_GET_SLOT(base, 29))
192+
#define pgObject_getRectHelper \
193+
(*(PyObject * (*)(PyObject *, PyObject *const *, Py_ssize_t, PyObject *, \
194+
char *)) PYGAMEAPI_GET_SLOT(base, 29))
194195

195196
#define import_pygame_base() IMPORT_PYGAME_MODULE(base)
196197
#endif /* ~PYGAMEAPI_BASE_INTERNAL */

0 commit comments

Comments
 (0)