Staging
v0.5.1
https://github.com/python/cpython
Revision e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 authored by Tim Peters on 01 November 2004, 01:39:08 UTC, committed by Tim Peters on 01 November 2004, 01:39:08 UTC
Introduced gc_list_move(), which captures the common gc_list_remove() +
gc_list_append() sequence.  In fact, no uses of gc_list_append() remained
(they were all in a gc_list_move() sequence), so commented that one out.

gc_list_merge():  assert that `from` != `to`; that was an implicit
precondition, now verified in a debug build.

Others:  added comments about their purpose.
1 parent cc2a866
Raw File
Tip revision: e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 authored by Tim Peters on 01 November 2004, 01:39:08 UTC
gc list function cleanup.
Tip revision: e2d5918
eval.h

/* Interface to execute compiled code */

#ifndef Py_EVAL_H
#define Py_EVAL_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *);

PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
					PyObject *globals,
					PyObject *locals,
					PyObject **args, int argc,
					PyObject **kwds, int kwdc,
					PyObject **defs, int defc,
					PyObject *closure);

PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);

#ifdef __cplusplus
}
#endif
#endif /* !Py_EVAL_H */
back to top