Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Functions | Variables
intobject.h File Reference

Go to the source code of this file.

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 (int) _PyInt_AsInt(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)
#define PyInt_Check (   op)    PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)
#define PyInt_CheckExact (   op)    ((op)->ob_type == &PyInt_Type)

Function Documentation

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

Variable Documentation

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

Copyright 2014 Google Inc. All rights reserved.