unicodeobject.h File Reference

Macros

#define Py_USING_UNICODE
 
#define Py_UNICODE_SIZE
 
#define PyUnicode_Check(op)
 
#define PyUnicode_CheckExact(op)
 
#define Py_UNICODE_REPLACEMENT_CHARACTER
 
#define PyUnicode_CHECK_INTERNED(op)
 
#define Py_CPYTHON_UNICODEOBJECT_H
 

Typedefs

typedef uint32_t Py_UCS4
 
typedef uint16_t Py_UCS2
 
typedef uint8_t Py_UCS1
 

Functions

 PyAPI_DATA (PyTypeObject) PyUnicode_Type
 
 PyAPI_FUNC (PyObject *) PyUnicode_FromStringAndSize(const char *u
 
 PyAPI_FUNC (Py_UCS4 *) PyUnicode_AsUCS4(PyObject *unicode
 
 PyAPI_FUNC (Py_ssize_t) PyUnicode_GetLength(PyObject *unicode)
 
 Py_DEPRECATED (3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(PyObject *unicode)
 
 PyAPI_FUNC (Py_UCS4) PyUnicode_ReadChar(PyObject *unicode
 
 PyAPI_FUNC (int) PyUnicode_WriteChar(PyObject *unicode
 
 PyAPI_FUNC (void) PyUnicode_InternInPlace(PyObject **)
 
 PyAPI_FUNC (const char *) PyUnicode_GetDefaultEncoding(void)
 

Variables

Py_ssize_t size
 
Py_ssize_t start
 
Py_ssize_t Py_ssize_t end
 
Py_UCS4buffer
 
Py_UCS4 Py_ssize_t buflen
 
Py_UCS4 Py_ssize_t int copy_null
 
Py_ssize_t index
 
Py_ssize_t Py_UCS4 character
 
Py_ssize_t length
 
const char * encoding
 
const char const char * errors
 
va_list vargs
 
Py_ssize_t const char Py_ssize_tconsumed
 
Py_ssize_t const char intbyteorder
 
Py_ssize_t PyObjectmapping
 
Py_ssize_t len
 
PyObjectright
 
PyObjectsep
 
PyObject Py_ssize_t maxsplit
 
int keepends
 
PyObjecttable
 
PyObjectseq
 
PyObjectsubstr
 
PyObject Py_ssize_t Py_ssize_t int direction
 
Py_UCS4 ch
 
PyObject PyObjectreplstr
 
PyObject PyObject Py_ssize_t maxcount
 
PyObject int op
 
PyObjectargs
 
PyObjectelement
 

Macro Definition Documentation

◆ Py_USING_UNICODE

#define Py_USING_UNICODE

◆ Py_UNICODE_SIZE

#define Py_UNICODE_SIZE

◆ PyUnicode_Check

#define PyUnicode_Check (   op)

◆ PyUnicode_CheckExact

#define PyUnicode_CheckExact (   op)

◆ Py_UNICODE_REPLACEMENT_CHARACTER

#define Py_UNICODE_REPLACEMENT_CHARACTER

◆ PyUnicode_CHECK_INTERNED

#define PyUnicode_CHECK_INTERNED (   op)

◆ Py_CPYTHON_UNICODEOBJECT_H

#define Py_CPYTHON_UNICODEOBJECT_H

Typedef Documentation

◆ Py_UCS4

typedef uint32_t Py_UCS4

◆ Py_UCS2

typedef uint16_t Py_UCS2

◆ Py_UCS1

typedef uint8_t Py_UCS1

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/7]

PyAPI_FUNC ( PyObject ) const

◆ PyAPI_FUNC() [2/7]

PyAPI_FUNC ( Py_UCS4 )

◆ PyAPI_FUNC() [3/7]

PyAPI_FUNC ( Py_ssize_t  )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  3)

◆ PyAPI_FUNC() [4/7]

PyAPI_FUNC ( Py_UCS4  )

◆ PyAPI_FUNC() [5/7]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [6/7]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [7/7]

PyAPI_FUNC ( const char *  )

Variable Documentation

◆ size

Py_ssize_t size

◆ start

◆ end

◆ buffer

Py_UCS4* buffer

◆ buflen

◆ copy_null

Py_UCS4 Py_ssize_t int copy_null

◆ index

Py_ssize_t index

◆ character

Py_ssize_t Py_UCS4 character

◆ length

Py_ssize_t length

◆ encoding

const char* encoding

◆ errors

PyObject const char* errors

◆ vargs

va_list vargs

◆ consumed

Py_ssize_t const char int Py_ssize_t * consumed

◆ byteorder

Py_ssize_t const char int* byteorder

◆ mapping

PyObject* mapping

◆ len

◆ right

PyObject* right

◆ sep

PyObject* sep

◆ maxsplit

PyObject Py_ssize_t maxsplit

◆ keepends

int keepends

◆ table

PyObject* table

◆ seq

PyObject* seq

◆ substr

PyObject * substr

◆ direction

◆ ch

Py_UCS4 ch

◆ replstr

PyObject PyObject* replstr

◆ maxcount

◆ op

◆ args

PyObject* args

◆ element

PyObject* element