diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h index 81a35cdc801d09..d97e242e777e13 100644 --- a/Include/cpython/unicodeobject.h +++ b/Include/cpython/unicodeobject.h @@ -1214,13 +1214,18 @@ Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy( ); /* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/ +#if !defined(Py_LIMITED_API) PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*); +#endif /* Clear all static strings. */ +#if !defined(Py_LIMITED_API) PyAPI_FUNC(void) _PyUnicode_ClearStaticStrings(void); - +#endif /* Fast equality check when the inputs are known to be exact unicode types and where the hash values are equal (i.e. a very probable match) */ +#if !defined(Py_LIMITED_API) PyAPI_FUNC(int) _PyUnicode_EQ(PyObject *, PyObject *); +#endif #ifdef __cplusplus }