Skip to content

Commit 245a122

Browse files
Update int_ops.c
1 parent 326484b commit 245a122

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypyc/lib-rt/int_ops.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,7 @@ PyObject *CPyTagged_ToBytes(CPyTagged self, Py_ssize_t length, PyObject *byteord
606606
}
607607

608608

609-
// Helper for CPyLong_ToBytes (Python 3.2+)
610-
PyObject *CPyLong_ToBytes(PyObject *v, Py_ssize_t length, const char *byteorder, int signed_flag) {
609+
static PyObject *CPyLong_ToBytes(PyObject *v, Py_ssize_t length, const char *byteorder, int signed_flag) {
611610
// This is a wrapper for PyLong_AsByteArray and PyBytes_FromStringAndSize
612611
unsigned char *bytes = (unsigned char *)PyMem_Malloc(length);
613612
if (!bytes) {

0 commit comments

Comments
 (0)