Back to index

python3.2  3.2.2
Defines | Functions | Variables
ceval.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PyEval_CallObject(func, arg)   PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
#define Py_EnterRecursiveCall(where)
#define Py_LeaveRecursiveCall()
#define _Py_MakeRecCheck(x)   (++(x) > _Py_CheckRecursionLimit)
#define _Py_MakeEndRecCheck(x)
#define Py_ALLOW_RECURSION
#define Py_END_ALLOW_RECURSION
#define Py_BEGIN_ALLOW_THREADS   {
#define Py_BLOCK_THREADS
#define Py_UNBLOCK_THREADS
#define Py_END_ALLOW_THREADS   }

Functions

 PyAPI_FUNC (PyObject *) PyEval_CallObjectWithKeywords(PyObject *
const char const char const char PyAPI_FUNC (void) PyEval_SetProfile(Py_tracefunc
 PyAPI_FUNC (struct _frame *) PyEval_GetFrame(void)
 PyAPI_FUNC (int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
 PyAPI_DATA (int) _Py_CheckRecursionLimit
 PyAPI_FUNC (const char *) PyEval_GetFuncName(PyObject *)
 PyAPI_FUNC (PyThreadState *) PyEval_SaveThread(void)

Variables

const char * format
const char const char * methodname
voidarg
int exc

Define Documentation

#define _Py_MakeEndRecCheck (   x)
Value:
(--(x) < ((_Py_CheckRecursionLimit > 100) \
        ? (_Py_CheckRecursionLimit - 50) \
        : (3 * (_Py_CheckRecursionLimit >> 2))))

Definition at line 95 of file ceval.h.

#define _Py_MakeRecCheck (   x)    (++(x) > _Py_CheckRecursionLimit)

Definition at line 92 of file ceval.h.

Value:
do { unsigned char _old = PyThreadState_GET()->recursion_critical;\
    PyThreadState_GET()->recursion_critical = 1;

Definition at line 100 of file ceval.h.

#define Py_BEGIN_ALLOW_THREADS   {

Definition at line 189 of file ceval.h.

Definition at line 190 of file ceval.h.

Value:
PyThreadState_GET()->recursion_critical = _old; \
  } while(0);

Definition at line 104 of file ceval.h.

#define Py_END_ALLOW_THREADS   }

Definition at line 192 of file ceval.h.

#define Py_EnterRecursiveCall (   where)
Value:
(_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) &&  \
             _Py_CheckRecursiveCall(where))

Definition at line 73 of file ceval.h.

#define Py_LeaveRecursiveCall ( )
Value:
do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth))  \
      PyThreadState_GET()->overflowed = 0;  \
    } while(0)

Definition at line 76 of file ceval.h.

Definition at line 191 of file ceval.h.

#define PyEval_CallObject (   func,
  arg 
)    PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)

Definition at line 14 of file ceval.h.


Function Documentation

PyAPI_DATA ( int  )
PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

{
    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);
}
const char const char const char PyAPI_FUNC ( void  )
PyAPI_FUNC ( struct _frame )
PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

PyAPI_FUNC ( const char *  )

Variable Documentation

Definition at line 42 of file ceval.h.

Definition at line 113 of file ceval.h.

const char const char const char* format

Definition at line 18 of file ceval.h.

const char const char* methodname

Definition at line 20 of file ceval.h.