longobject.h File Reference

Macros

#define PyLong_Check(op)
 
#define PyLong_CheckExact(op)
 
#define PyLong_AS_LONG(op)
 
#define _Py_PARSE_PID
 
#define PyLong_FromPid
 
#define PyLong_AsPid
 
#define _Py_PARSE_INTPTR
 
#define _Py_PARSE_UINTPTR
 

Typedefs

typedef struct _longobject PyLongObject
 

Functions

 PyAPI_DATA (PyTypeObject) PyLong_Type
 
 PyAPI_FUNC (PyObject *) PyLong_FromLong(long)
 
 PyAPI_FUNC (long) PyLong_AsLong(PyObject *)
 
intPyAPI_FUNC (Py_ssize_t) PyLong_AsSsize_t(PyObject *)
 
 PyAPI_FUNC (size_t) PyLong_AsSize_t(PyObject *)
 
 PyAPI_FUNC (unsigned long) PyLong_AsUnsignedLong(PyObject *)
 
 PyAPI_FUNC (int) _PyLong_AsInt(PyObject *)
 
void void void void void * PyAPI_DATA (unsigned char) _PyLong_DigitValue[256]
 
 PyAPI_FUNC (double) _PyLong_Frexp(PyLongObject *a
 
 PyAPI_FUNC (void *) PyLong_AsVoidPtr(PyObject *)
 
 PyAPI_FUNC (long long) PyLong_AsLongLong(PyObject *)
 
 PyAPI_FUNC (unsigned long long) PyLong_AsUnsignedLongLong(PyObject *)
 
 Py_DEPRECATED (3.3) PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE *
 
 PyAPI_FUNC (char *) _PyLong_FormatBytesWriter(_PyBytesWriter *writer
 
PyObjectPyAPI_DATA (PyObject *) _PyLong_Zero
 

Variables

Py_ssize_te
 
int char int
 
 Py_ssize_t
 
int base
 
PyObject size_t n
 
PyObject size_t int little_endian
 
PyObject size_t int int is_signed
 
unsigned char * bytes
 
PyObjectobj
 
PyObject int int alternate
 
char * str
 
PyObject PyObjectformat_spec
 
PyObject PyObject Py_ssize_t start
 
PyObject PyObject Py_ssize_t Py_ssize_t end
 
 size_t
 

Macro Definition Documentation

◆ PyLong_Check

#define PyLong_Check (   op)

◆ PyLong_CheckExact

#define PyLong_CheckExact (   op)

◆ PyLong_AS_LONG

#define PyLong_AS_LONG (   op)

◆ _Py_PARSE_PID

#define _Py_PARSE_PID

◆ PyLong_FromPid

#define PyLong_FromPid

◆ PyLong_AsPid

#define PyLong_AsPid

◆ _Py_PARSE_INTPTR

#define _Py_PARSE_INTPTR

◆ _Py_PARSE_UINTPTR

#define _Py_PARSE_UINTPTR

Typedef Documentation

◆ PyLongObject

typedef struct _longobject PyLongObject

Function Documentation

◆ PyAPI_DATA() [1/3]

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/11]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [2/11]

PyAPI_FUNC ( long  )

◆ PyAPI_FUNC() [3/11]

int* PyAPI_FUNC ( Py_ssize_t  )

◆ PyAPI_FUNC() [4/11]

PyAPI_FUNC ( size_t  )

◆ PyAPI_FUNC() [5/11]

PyAPI_FUNC ( unsigned long  )

◆ PyAPI_FUNC() [6/11]

PyAPI_FUNC ( int  )

◆ PyAPI_DATA() [2/3]

void void void void void* PyAPI_DATA ( unsigned char  )

◆ PyAPI_FUNC() [7/11]

PyAPI_FUNC ( double  )

◆ PyAPI_FUNC() [8/11]

PyAPI_FUNC ( void *  )

◆ PyAPI_FUNC() [9/11]

PyAPI_FUNC ( long long  )

◆ PyAPI_FUNC() [10/11]

PyAPI_FUNC ( unsigned long long  )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  3)

◆ PyAPI_FUNC() [11/11]

PyAPI_FUNC ( char *  )

◆ PyAPI_DATA() [3/3]

PyAPI_DATA ( PyObject )

Variable Documentation

◆ e

◆ int

char int

◆ Py_ssize_t

◆ base

char PyObject int base

◆ n

unsigned char size_t n

◆ little_endian

unsigned char size_t int little_endian

◆ is_signed

unsigned char size_t int int is_signed

◆ bytes

unsigned char* bytes

◆ obj

PyObject* obj

◆ alternate

char PyObject int int alternate

◆ str

char* str

◆ format_spec

PyObject PyObject* format_spec

◆ start

◆ end

◆ size_t

size_t