Message105214
Python provides several functions for manipulating raw Py_UNICODE strings, but they aren't documented. Below are their signatures.
PyAPI_FUNC(size_t) Py_UNICODE_strlen(const Py_UNICODE *u);
PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strcpy(
Py_UNICODE *s1, const Py_UNICODE *s2);
PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strncpy(
Py_UNICODE *s1, const Py_UNICODE *s2, size_t n);
PyAPI_FUNC(int) Py_UNICODE_strcmp(
const Py_UNICODE *s1, const Py_UNICODE *s2);
PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strchr(
const Py_UNICODE *s, Py_UNICODE c
); |
|
Date |
User |
Action |
Args |
2010-05-07 16:48:41 | stutzbach | set | recipients:
+ stutzbach, docs@python |
2010-05-07 16:48:41 | stutzbach | set | messageid: <1273250921.26.0.330435554177.issue8649@psf.upfronthosting.co.za> |
2010-05-07 16:48:39 | stutzbach | link | issue8649 messages |
2010-05-07 16:48:39 | stutzbach | create | |
|