summaryrefslogtreecommitdiff
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-07-04 22:53:45 -0500
committerBenjamin Peterson <benjamin@python.org>2015-07-04 22:53:45 -0500
commit191a8f0a342f5f6c9fc6f1572a33e389d3f682b2 (patch)
tree8cbc6c0a9c77e9717a83935d302c3f7cef420d5f /Include/unicodeobject.h
parentd34c246baf7bdfb2d5dacf04b7d5fae76a20ed2c (diff)
parentac2ef65c320606e30132ca58bbd6b5d6861ce644 (diff)
downloadcpython-git-191a8f0a342f5f6c9fc6f1572a33e389d3f682b2.tar.gz
merge heads
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 4ba632803c..33e8f19af0 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -2261,6 +2261,10 @@ PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);
/* Clear all static strings. */
PyAPI_FUNC(void) _PyUnicode_ClearStaticStrings(void);
+/* 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) */
+PyAPI_FUNC(int) _PyUnicode_EQ(PyObject *, PyObject *);
+
#ifdef __cplusplus
}
#endif