Skip to content

Commit

Permalink
Revert "Remove whole inline"
Browse files Browse the repository at this point in the history
This reverts commit 6dbbaca.
  • Loading branch information
corona10 committed Sep 26, 2024
1 parent 6dbbaca commit d527e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Include/internal/pycore_cell.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PyCell_SetTakeRef(PyCellObject *cell, PyObject *value)
}

// Gets the cell contents. Returns a new reference.
static PyObject *
static inline PyObject *
PyCell_GetRef(PyCellObject *cell)
{
PyObject *res;
Expand All @@ -43,7 +43,7 @@ PyCell_GetRef(PyCellObject *cell)
return res;
}

static void
static inline void
_PyCell_GetStackRef(PyCellObject *cell, _PyStackRef *value_addr)
{
PyObject *value;
Expand Down

0 comments on commit d527e0a

Please sign in to comment.