Skip to content

Commit

Permalink
made _pg_circle_collideswith PG_FORCEINLINE
Browse files Browse the repository at this point in the history
  • Loading branch information
itzpr3d4t0r committed May 27, 2024
1 parent 937786e commit 9ed705a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src_c/circle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down Expand Up @@ -637,7 +637,6 @@ pg_circle_collidelistall(pgCircleObject *self, PyObject *arg)
}

return ret;

}

static void
Expand Down

0 comments on commit 9ed705a

Please sign in to comment.