Skip to content

Commit a2c45c6

Browse files
committed
Fix #endif placement
1 parent 8298469 commit a2c45c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_stackref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ PyStackRef_Borrow(_PyStackRef ref)
527527
{
528528
return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
529529
}
530+
#endif
530531

531532
static inline PyObject *
532533
PyStackRef_AsPyObjectSteal(_PyStackRef ref)
@@ -540,7 +541,6 @@ PyStackRef_AsPyObjectSteal(_PyStackRef ref)
540541
return Py_NewRef(BITS_TO_PTR_MASKED(ref));
541542
}
542543
}
543-
#endif
544544

545545
static inline _PyStackRef
546546
PyStackRef_FromPyObjectSteal(PyObject *obj)

0 commit comments

Comments
 (0)