From 9ed705a61da3a5fb863d51835e21901e4cec5092 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Mon, 27 May 2024 14:42:49 +0200 Subject: [PATCH] made _pg_circle_collideswith PG_FORCEINLINE --- src_c/circle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src_c/circle.c b/src_c/circle.c index db689bce..c3caddf0 100644 --- a/src_c/circle.c +++ b/src_c/circle.c @@ -320,7 +320,7 @@ pg_circle_colliderect(pgCircleObject *self, PyObject *const *args, return PyBool_FromLong(pgCollision_RectCircle(&temp, &self->circle)); } -static int +static PG_FORCEINLINE int _pg_circle_collideswith(pgCircleBase *scirc, PyObject *arg) { if (pgCircle_Check(arg)) { @@ -637,7 +637,6 @@ pg_circle_collidelistall(pgCircleObject *self, PyObject *arg) } return ret; - } static void