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 4bb387f commit bf2239dCopy full SHA for bf2239d
1 file changed
mypyc/lib-rt/str_ops.c
@@ -678,10 +678,10 @@ bool CPyStr_IsAlnum(PyObject *str) {
678
return true;
679
}
680
681
-static int CPy_ASCII_Lower(unsigned char c) { return Py_TOLOWER(c); }
682
-static int CPy_ASCII_Upper(unsigned char c) { return Py_TOUPPER(c); }
+static inline int CPy_ASCII_Lower(unsigned char c) { return Py_TOLOWER(c); }
+static inline int CPy_ASCII_Upper(unsigned char c) { return Py_TOUPPER(c); }
683
684
-static PyObject *CPyStr_ChangeCase(PyObject *self,
+static inline PyObject *CPyStr_ChangeCase(PyObject *self,
685
int (*ascii_func)(unsigned char),
686
#if CPY_3_13_FEATURES
687
PyObject *method_name
0 commit comments