Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/python2....
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
typedef struct {
[21] Fix | Delete
PyObject_VAR_HEAD
[22] Fix | Delete
/* XXX(nnorwitz): should ob_exports be Py_ssize_t? */
[23] Fix | Delete
int ob_exports; /* how many buffer exports */
[24] Fix | Delete
Py_ssize_t ob_alloc; /* How many bytes allocated */
[25] Fix | Delete
char *ob_bytes;
[26] Fix | Delete
} PyByteArrayObject;
[27] Fix | Delete
[28] Fix | Delete
/* Type object */
[29] Fix | Delete
PyAPI_DATA(PyTypeObject) PyByteArray_Type;
[30] Fix | Delete
PyAPI_DATA(PyTypeObject) PyByteArrayIter_Type;
[31] Fix | Delete
[32] Fix | Delete
/* Type check macros */
[33] Fix | Delete
#define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
[34] Fix | Delete
#define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
[35] Fix | Delete
[36] Fix | Delete
/* Direct API functions */
[37] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_FromObject(PyObject *);
[38] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_Concat(PyObject *, PyObject *);
[39] Fix | Delete
PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
[40] Fix | Delete
PyAPI_FUNC(Py_ssize_t) PyByteArray_Size(PyObject *);
[41] Fix | Delete
PyAPI_FUNC(char *) PyByteArray_AsString(PyObject *);
[42] Fix | Delete
PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
[43] Fix | Delete
[44] Fix | Delete
/* Macros, trading safety for speed */
[45] Fix | Delete
#define PyByteArray_AS_STRING(self) \
[46] Fix | Delete
(assert(PyByteArray_Check(self)), \
[47] Fix | Delete
Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
[48] Fix | Delete
#define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self))
[49] Fix | Delete
[50] Fix | Delete
PyAPI_DATA(char) _PyByteArray_empty_string[];
[51] Fix | Delete
[52] Fix | Delete
#ifdef __cplusplus
[53] Fix | Delete
}
[54] Fix | Delete
#endif
[55] Fix | Delete
#endif /* !Py_BYTEARRAYOBJECT_H */
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function