python-2.7.6/include/intobject.h File Reference

intobject.h File Reference

Classes

struct  PyIntObject
 

Macros

#define PyInt_Check(op)   PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)
 
#define PyInt_CheckExact(op)   ((op)->ob_type == &PyInt_Type)
 
#define PyInt_AS_LONG(op)   (((PyIntObject *)(op))->ob_ival)
 

Functions

 PyAPI_DATA (PyTypeObject) PyInt_Type
 
 PyAPI_FUNC (PyObject *) PyInt_FromString(char *
 
 PyAPI_FUNC (long) PyInt_AsLong(PyObject *)
 
 PyAPI_FUNC (Py_ssize_t) PyInt_AsSsize_t(PyObject *)
 
 PyAPI_FUNC (unsigned long) PyInt_AsUnsignedLongMask(PyObject *)
 

Variables

char int
 
int base
 
int int newstyle
 
char * format_spec
 
char Py_ssize_t format_spec_len
 

Macro Definition Documentation

#define PyInt_AS_LONG (   op)    (((PyIntObject *)(op))->ob_ival)

Definition at line 52 of file intobject.h.

#define PyInt_Check (   op)    PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)

Definition at line 30 of file intobject.h.

#define PyInt_CheckExact (   op)    ((op)->ob_type == &PyInt_Type)

Definition at line 32 of file intobject.h.

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( PyObject )
PyAPI_FUNC ( long  )
PyAPI_FUNC ( Py_ssize_t  )
PyAPI_FUNC ( unsigned  long)

Variable Documentation

int base

Definition at line 70 of file intobject.h.

char* format_spec

Definition at line 75 of file intobject.h.

char Py_ssize_t format_spec_len

Definition at line 75 of file intobject.h.

char int

Definition at line 34 of file intobject.h.

int int newstyle

Definition at line 70 of file intobject.h.

Go to the source code of this file.