We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86bf01a commit 910e62dCopy full SHA for 910e62d
graalpython/com.oracle.graal.python.test/src/tests/cpyext/test_bytes.py
@@ -80,7 +80,7 @@ def compile_module(self, name):
80
test_PyBytes_FromStringAndSizeNULL = CPyExtFunction(
81
lambda args: len(b"\x00"*args[0]),
82
lambda: ( (128, ), ),
83
- code = """PyObject* PyBytes_FromStringAndSizeNULL(Py_ssize_t n) {
+ code = """long PyBytes_FromStringAndSizeNULL(Py_ssize_t n) {
84
// we are return the length because the content is random (uninitialized)
85
return PyBytes_Size(PyBytes_FromStringAndSize(NULL, n));
86
}
0 commit comments