This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients docs@python, stutzbach
Date 2010-05-07.16:48:39
SpamBayes Score 0.057031836
Marked as misclassified No
Message-id <1273250921.26.0.330435554177.issue8649@psf.upfronthosting.co.za>
In-reply-to
Content
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
    );
History
Date User Action Args
2010-05-07 16:48:41stutzbachsetrecipients: + stutzbach, docs@python
2010-05-07 16:48:41stutzbachsetmessageid: <1273250921.26.0.330435554177.issue8649@psf.upfronthosting.co.za>
2010-05-07 16:48:39stutzbachlinkissue8649 messages
2010-05-07 16:48:39stutzbachcreate