Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Functions | Variables
bytearrayobject.h File Reference
#include <stdarg.h>

Go to the source code of this file.

Classes

struct  PyByteArrayObject
 

Macros

#define PyByteArray_Check(self)   PyObject_TypeCheck(self, &PyByteArray_Type)
 
#define PyByteArray_CheckExact(self)   (Py_TYPE(self) == &PyByteArray_Type)
 
#define PyByteArray_AS_STRING(self)
 
#define PyByteArray_GET_SIZE(self)   (assert(PyByteArray_Check(self)),Py_SIZE(self))
 

Functions

 PyAPI_DATA (PyTypeObject) PyByteArray_Type
 
 PyAPI_FUNC (PyObject *) PyByteArray_FromObject(PyObject *)
 
 PyAPI_FUNC (Py_ssize_t) PyByteArray_Size(PyObject *)
 
 PyAPI_FUNC (char *) PyByteArray_AsString(PyObject *)
 
 PyAPI_FUNC (int) PyByteArray_Resize(PyObject *
 
 PyAPI_DATA (char) _PyByteArray_empty_string[]
 

Variables

PyObject Py_ssize_t
 

Macro Definition Documentation

#define PyByteArray_AS_STRING (   self)
Value:
(assert(PyByteArray_Check(self)), \
Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
#define PyByteArray_Check (   self)    PyObject_TypeCheck(self, &PyByteArray_Type)
#define PyByteArray_CheckExact (   self)    (Py_TYPE(self) == &PyByteArray_Type)
#define PyByteArray_GET_SIZE (   self)    (assert(PyByteArray_Check(self)),Py_SIZE(self))

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_DATA ( char  )
PyAPI_FUNC ( PyObject )
read
PyAPI_FUNC ( Py_ssize_t  )
PyAPI_FUNC ( char *  )
PyAPI_FUNC ( int  )
read

Variable Documentation

Copyright 2014 Google Inc. All rights reserved.