Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: bytearrayobject.h
/* ByteArray object interface */
[0] Fix | Delete
[1] Fix | Delete
#ifndef Py_BYTEARRAYOBJECT_H
[2] Fix | Delete
#define Py_BYTEARRAYOBJECT_H
[3] Fix | Delete
#ifdef __cplusplus
[4] Fix | Delete
extern "C" {
[5] Fix | Delete
#endif
[6] Fix | Delete
[7] Fix | Delete
#include <stdarg.h>
[8] Fix | Delete
[9] Fix | Delete
/* Type PyByteArrayObject represents a mutable array of bytes.
[10] Fix | Delete
* The Python API is that of a sequence;
[11] Fix | Delete
* the bytes are mapped to ints in [0, 256).
[12] Fix | Delete
* Bytes are not characters; they may be used to encode characters.
[13] Fix | Delete
* The only way to go between bytes and str/unicode is via encoding
[14] Fix | Delete
* and decoding.
[15] Fix | Delete
* For the convenience of C programmers, the bytes type is considered
[16] Fix | Delete
* to contain a char pointer, not an unsigned char pointer.
[17] Fix | Delete
*/
[18] Fix | Delete
[19] Fix | Delete
/* Object layout */
[20] Fix | Delete
#ifndef Py_LIMITED_API
[21] Fix | Delete
typedef struct {
[22] Fix | Delete
PyObject_VAR_HEAD
[23] Fix | Delete
Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */
[24] Fix | Delete
char *ob_bytes; /* Physical backing buffer */
[25] Fix | Delete
char *ob_start; /* Logical start inside ob_bytes */
[26] Fix | Delete
/* XXX(nnorwitz): should ob_exports be Py_ssize_t? */
[27] Fix | Delete
int ob_exports; /* How many buffer exports */
[28] Fix | Delete
} PyByteArrayObject;
[29] Fix | Delete
#endif
[30] Fix | Delete
[31] Fix | Delete
/* Type object */
[32] Fix | Delete
PyAPI_DATA(PyTypeObject) PyByteArray_Type;
[33] Fix | Delete
PyAPI_DATA(PyTypeObject) PyByteArrayIter_Type;
[34] Fix | Delete
[35] Fix | Delete
/* Type check macros */
[36] Fix | Delete
#define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
[37] Fix | Delete
#define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
[38] Fix | Delete
[39] Fix | Delete
/* Direct API functions */
[40] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_FromObject(PyObject *);
[41] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_Concat(PyObject *, PyObject *);
[42] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
[43] Fix | Delete
PyAPI_FUNC(Py_ssize_t) PyByteArray_Size(PyObject *);
[44] Fix | Delete
PyAPI_FUNC(char *) PyByteArray_AsString(PyObject *);
[45] Fix | Delete
PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
[46] Fix | Delete
[47] Fix | Delete
/* Macros, trading safety for speed */
[48] Fix | Delete
#ifndef Py_LIMITED_API
[49] Fix | Delete
#define PyByteArray_AS_STRING(self) \
[50] Fix | Delete
(assert(PyByteArray_Check(self)), \
[51] Fix | Delete
Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string)
[52] Fix | Delete
#define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self))
[53] Fix | Delete
[54] Fix | Delete
PyAPI_DATA(char) _PyByteArray_empty_string[];
[55] Fix | Delete
#endif
[56] Fix | Delete
[57] Fix | Delete
#ifdef __cplusplus
[58] Fix | Delete
}
[59] Fix | Delete
#endif
[60] Fix | Delete
#endif /* !Py_BYTEARRAYOBJECT_H */
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function