Skip to content

Commit

Permalink
Make PyLong_LAYOUT static
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 16, 2024
1 parent caca2d7 commit 4221a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/longobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -6776,7 +6776,7 @@ int PyLong_AsUInt64(PyObject *obj, uint64_t *value)
}


const PyLongLayout PyLong_LAYOUT = {
static const PyLongLayout PyLong_LAYOUT = {
.bits_per_digit = PyLong_SHIFT,
.digits_order = -1, // least significant first
.endian = PY_LITTLE_ENDIAN ? -1 : 1,
Expand Down

0 comments on commit 4221a49

Please sign in to comment.