Skip to content

Commit 1c61702

Browse files
committed
Export complex_subtype_from_doubles
1 parent 9153a89 commit 1c61702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/complexobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ PyComplex_FromCComplex(Py_complex cval)
239239
return GraalPyComplex_FromDoubles(cval.real, cval.imag);
240240
}
241241

242-
PyObject * // GraalPy change: remove static
242+
PyAPI_FUNC(PyObject *) // GraalPy change: expose the function for downcalls
243243
complex_subtype_from_doubles(PyTypeObject *type, double real, double imag)
244244
{
245245
Py_complex c;

0 commit comments

Comments
 (0)