summaryrefslogtreecommitdiffstats
path: root/doc/html/_sources/c_api.txt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-22 13:38:00 -0600
committerTimothy Pearson <[email protected]>2011-11-22 13:38:00 -0600
commite832e9f2ab4ef7c9649c5a43824c2c8f97d5c6df (patch)
tree1f6a56de772e0b9ad9b75253d7dc6fa98865e04e /doc/html/_sources/c_api.txt
parent71cbc66f6c877652370529d008263320a6cea74c (diff)
downloadsip4-tqt-e832e9f2ab4ef7c9649c5a43824c2c8f97d5c6df.tar.gz
sip4-tqt-e832e9f2ab4ef7c9649c5a43824c2c8f97d5c6df.zip
Fix accidental rename of strings to tqunicode
Diffstat (limited to 'doc/html/_sources/c_api.txt')
-rw-r--r--doc/html/_sources/c_api.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/_sources/c_api.txt b/doc/html/_sources/c_api.txt
index 7bcacc7..66e0af2 100644
--- a/doc/html/_sources/c_api.txt
+++ b/doc/html/_sources/c_api.txt
@@ -202,13 +202,13 @@ specification files.
``u`` (long) [unsigned int]
Convert a C/C++ ``unsigned int`` to a Python long.
- ``w`` (tqunicode/string) [wchar_t]
- Convert a C/C++ wide character to a Python v2 tqunicode object or a
+ ``w`` (unicode/string) [wchar_t]
+ Convert a C/C++ wide character to a Python v2 unicode object or a
Python v3 string object.
- ``x`` (tqunicode/string) [wchar_t \*]
+ ``x`` (unicode/string) [wchar_t \*]
Convert a C/C++ ``L'\0'`` terminated wide character string to a Python
- v2 tqunicode object or a Python v3 string object. If the string pointer
+ v2 unicode object or a Python v3 string object. If the string pointer
is ``NULL`` then the result is ``Py_None``.
``A`` (string) [char \*]
@@ -272,8 +272,8 @@ specification files.
Convert a named C/C++ ``enum`` to an instance of the corresponding
Python named enum type.
- ``G`` (tqunicode) [wchar_t \*, :cmacro:`SIP_SSIZE_T`]
- Convert a C/C++ wide character array and its length to a Python tqunicode
+ ``G`` (unicode) [wchar_t \*, :cmacro:`SIP_SSIZE_T`]
+ Convert a C/C++ wide character array and its length to a Python unicode
object. If the array is ``NULL`` then the length is ignored and the
result is ``Py_None``.
@@ -1124,7 +1124,7 @@ specification files.
Convert a Python string-like object of length 1 to a C/C++ ``char``
according to the encoding ``e``. ``e`` can either be ``A`` for ASCII,
``L`` for Latin-1, or ``8`` for UTF-8. For Python v2 the object may be
- either a string or a tqunicode object that can be encoded. For Python v3
+ either a string or a unicode object that can be encoded. For Python v3
the object may either be a bytes object or a string object that can be
encoded. An object that supports the buffer protocol may also be used.
@@ -1182,12 +1182,12 @@ specification files.
``u`` (long) [unsigned int \*]
Convert a Python long to a C/C++ ``unsigned int``.
- ``w`` (tqunicode/string) [wchar_t \*]
- Convert a Python v2 string or tqunicode object or a Python v3 string
+ ``w`` (unicode/string) [wchar_t \*]
+ Convert a Python v2 string or unicode object or a Python v3 string
object of length 1 to a C/C++ wide character.
- ``x`` (tqunicode/string) [wchar_t \*\*]
- Convert a Python v2 string or tqunicode object or a Python v3 string
+ ``x`` (unicode/string) [wchar_t \*\*]
+ Convert a Python v2 string or unicode object or a Python v3 string
object to a C/C++ ``L'\0'`` terminated wide character string. If the
Python object is ``Py_None`` then the string is ``NULL``.
@@ -1199,7 +1199,7 @@ specification files.
identifies the object in the context defined by the ``S`` format
character and allows an extra reference to the object to be kept to
ensure that the string remains valid. For Python v2 the object may be
- either a string or a tqunicode object that can be encoded. For Python v3
+ either a string or a unicode object that can be encoded. For Python v3
the object may either be a bytes object or a string object that can be
encoded. An object that supports the buffer protocol may also be used.
@@ -1258,8 +1258,8 @@ specification files.
``F`` (wrapped enum) [:ctype:`sipTypeDef` \*, enum \*]
Convert a Python named enum type to the corresponding C/C++ ``enum``.
- ``G`` (tqunicode/string) [wchar_t \*\*, :cmacro:`SIP_SSIZE_T` \*]
- Convert a Python v2 string or tqunicode object or a Python v3 string
+ ``G`` (unicode/string) [wchar_t \*\*, :cmacro:`SIP_SSIZE_T` \*]
+ Convert a Python v2 string or unicode object or a Python v3 string
object to a C/C++ wide character array and its length. If the Python
object is ``Py_None`` then the array and length are ``NULL`` and zero
respectively.