/opt/alt/python34/include/python3.4m
NameSizeModeActions
abstract.h430780644editdlrm
accu.h10160644editdlrm
asdl.h11840644editdlrm
ast.h4770644editdlrm
bitset.h7920644editdlrm
bltinmodule.h2640644editdlrm
boolobject.h8860644editdlrm
bytearrayobject.h21140644editdlrm
bytesobject.h49220644editdlrm
bytes_methods.h20250644editdlrm
cellobject.h7010644editdlrm
ceval.h72000644editdlrm
classobject.h16660644editdlrm
code.h42270644editdlrm
codecs.h65520644editdlrm
compile.h21170644editdlrm
complexobject.h19540644editdlrm
datetime.h85420644editdlrm
descrobject.h29130644editdlrm
dictobject.h51780644editdlrm
dtoa.h4580644editdlrm
dynamic_annotations.h224690644editdlrm
enumobject.h2530644editdlrm
errcode.h14970644editdlrm
eval.h5970644editdlrm
fileobject.h18620644editdlrm
fileutils.h15010644editdlrm
floatobject.h46410644editdlrm
frameobject.h35580644editdlrm
funcobject.h37710644editdlrm
genobject.h11310644editdlrm
graminit.h18730644editdlrm
grammar.h20450644editdlrm
import.h39010644editdlrm
intrcheck.h4600644editdlrm
iterobject.h5670644editdlrm
listobject.h28360644editdlrm
longintrepr.h39970644editdlrm
longobject.h81740644editdlrm
marshal.h8030644editdlrm
memoryobject.h28610644editdlrm
metagrammar.h2530644editdlrm
methodobject.h33070644editdlrm
modsupport.h48970644editdlrm
moduleobject.h16150644editdlrm
namespaceobject.h2970644editdlrm
node.h10080644editdlrm
object.h385220644editdlrm
objimpl.h138480644editdlrm
opcode.h52110644editdlrm
osdefs.h8480644editdlrm
parsetok.h28850644editdlrm
patchlevel.h11300644editdlrm
pgen.h2530644editdlrm
pgenheaders.h11440644editdlrm
pyarena.h27440644editdlrm
pyatomic.h59440644editdlrm
pycapsule.h17260644editdlrm
pyconfig-64.h433490644editdlrm
pyconfig.h1620644editdlrm
pyctype.h13200644editdlrm
pydebug.h10190644editdlrm
pyerrors.h160230644editdlrm
pyexpat.h24500644editdlrm
pyfpe.h84890644editdlrm
pygetopt.h3880644editdlrm
pyhash.h42740644editdlrm
pymacconfig.h29880644editdlrm
pymacro.h28210644editdlrm
pymath.h72180644editdlrm
pymem.h67820644editdlrm
pyport.h308740644editdlrm
pystate.h91240644editdlrm
pystrcmp.h4360644editdlrm
pystrtod.h12760644editdlrm
Python-ast.h194890644editdlrm
Python.h28560644editdlrm
pythonrun.h101840644editdlrm
pythread.h30360644editdlrm
pytime.h29140644editdlrm
py_curses.h41750644editdlrm
rangeobject.h6290644editdlrm
setobject.h33010644editdlrm
sliceobject.h15900644editdlrm
structmember.h20680644editdlrm
structseq.h13530644editdlrm
symtable.h50990644editdlrm
sysmodule.h13550644editdlrm
token.h18880644editdlrm
traceback.h22130644editdlrm
tupleobject.h24440644editdlrm
typeslots.h19970644editdlrm
ucnhash.h10570644editdlrm
unicodeobject.h781330644editdlrm
warnings.h14260644editdlrm
weakrefobject.h28660644editdlrm
Edit: /opt/alt/python34/include/python3.4m/bytesobject.h (4922B)
/* Bytes (String) object interface */ #ifndef Py_BYTESOBJECT_H #define Py_BYTESOBJECT_H #ifdef __cplusplus extern "C" { #endif #include /* Type PyBytesObject represents a character string. An extra zero byte is reserved at the end to ensure it is zero-terminated, but a size is present so strings with null bytes in them can be represented. This is an immutable object type. There are functions to create new string objects, to test an object for string-ness, and to get the string value. The latter function returns a null pointer if the object is not of the proper type. There is a variant that takes an explicit size as well as a variant that assumes a zero-terminated string. Note that none of the functions should be applied to nil objects. */ /* Caching the hash (ob_shash) saves recalculation of a string's hash value. This significantly speeds up dict lookups. */ #ifndef Py_LIMITED_API typedef struct { PyObject_VAR_HEAD Py_hash_t ob_shash; char ob_sval[1]; /* Invariants: * ob_sval contains space for 'ob_size+1' elements. * ob_sval[ob_size] == 0. * ob_shash is the hash of the string or -1 if not computed yet. */ } PyBytesObject; #endif PyAPI_DATA(PyTypeObject) PyBytes_Type; PyAPI_DATA(PyTypeObject) PyBytesIter_Type; #define PyBytes_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS) #define PyBytes_CheckExact(op) (Py_TYPE(op) == &PyBytes_Type) PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *); PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *); PyAPI_FUNC(PyObject *) PyBytes_FromFormatV(const char*, va_list) Py_GCC_ATTRIBUTE((format(printf, 1, 0))); PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...) Py_GCC_ATTRIBUTE((format(printf, 1, 2))); PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *); PyAPI_FUNC(char *) PyBytes_AsString(PyObject *); PyAPI_FUNC(PyObject *) PyBytes_Repr(PyObject *, int); PyAPI_FUNC(void) PyBytes_Concat(PyObject **, PyObject *); PyAPI_FUNC(void) PyBytes_ConcatAndDel(PyObject **, PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyBytes_Resize(PyObject **, Py_ssize_t); #endif PyAPI_FUNC(PyObject *) PyBytes_DecodeEscape(const char *, Py_ssize_t, const char *, Py_ssize_t, const char *); /* Macro, trading safety for speed */ #ifndef Py_LIMITED_API #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \ (((PyBytesObject *)(op))->ob_sval)) #define PyBytes_GET_SIZE(op) (assert(PyBytes_Check(op)),Py_SIZE(op)) #endif /* _PyBytes_Join(sep, x) is like sep.join(x). sep must be PyBytesObject*, x must be an iterable object. */ #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyBytes_Join(PyObject *sep, PyObject *x); #endif /* Provides access to the internal data buffer and size of a string object or the default encoded version of an Unicode object. Passing NULL as *len parameter will force the string buffer to be 0-terminated (passing a string with embedded NULL characters will cause an exception). */ PyAPI_FUNC(int) PyBytes_AsStringAndSize( PyObject *obj, /* string or Unicode object */ char **s, /* pointer to buffer variable */ Py_ssize_t *len /* pointer to length variable or NULL (only possible for 0-terminated strings) */ ); /* Using the current locale, insert the thousands grouping into the string pointed to by buffer. For the argument descriptions, see Objects/stringlib/localeutil.h */ #ifndef Py_LIMITED_API PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGroupingLocale(char *buffer, Py_ssize_t n_buffer, char *digits, Py_ssize_t n_digits, Py_ssize_t min_width); /* Using explicit passed-in values, insert the thousands grouping into the string pointed to by buffer. For the argument descriptions, see Objects/stringlib/localeutil.h */ PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGrouping(char *buffer, Py_ssize_t n_buffer, char *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, const char *thousands_sep); #endif /* Flags used by string formatting */ #define F_LJUST (1<<0) #define F_SIGN (1<<1) #define F_BLANK (1<<2) #define F_ALT (1<<3) #define F_ZERO (1<<4) #ifdef __cplusplus } #endif #endif /* !Py_BYTESOBJECT_H */