summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-10 16:37:20 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-10 16:37:20 (GMT)
commit331ea92ade37e5dcf14c44df59e5eda2136b1a8f (patch)
tree530dad9524b4b4f2dfd795a0ab25ee35d4e82291 /Include/unicodeobject.h
parente1dd1747e8750ed8a7641d59899e3cb8db5ddca9 (diff)
downloadcpython-331ea92ade37e5dcf14c44df59e5eda2136b1a8f.zip
cpython-331ea92ade37e5dcf14c44df59e5eda2136b1a8f.tar.gz
cpython-331ea92ade37e5dcf14c44df59e5eda2136b1a8f.tar.bz2
Issue #9425: create Py_UNICODE_strrchr() function
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 6448cda..7f5e8fd 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1622,6 +1622,10 @@ PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strchr(
const Py_UNICODE *s, Py_UNICODE c
);
+PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strrchr(
+ const Py_UNICODE *s, Py_UNICODE c
+ );
+
#ifdef __cplusplus
}
#endif