From 9e89f0a5b3e8bb3d907b435b6b562f2a113b03b3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 7 Feb 1995 15:26:59 +0000 Subject: added callable, removed run_pyc_file --- Include/pythonrun.h | 1 - Include/rename2.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 837d2f5..f245367 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -44,7 +44,6 @@ struct _node *PyParser_SimpleParseFile Py_PROTO((FILE *, char *, int)); PyObject *PyRun_String Py_PROTO((char *, int, PyObject *, PyObject *)); PyObject *PyRun_File Py_PROTO((FILE *, char *, int, PyObject *, PyObject *)); -PyObject *run_pyc_file Py_PROTO((FILE *, char *, PyObject *, PyObject *)); PyObject *Py_CompileString Py_PROTO((char *, char *, int)); diff --git a/Include/rename2.h b/Include/rename2.h index e648a62..4d9e2ab 100644 --- a/Include/rename2.h +++ b/Include/rename2.h @@ -152,6 +152,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define RET_SAVE Py_BLOCK_THREADS #define RES_SAVE Py_UNBLOCK_THREADS #define END_SAVE Py_END_ALLOW_THREADS +#define callable PyCallable_Check #define is_floatobject PyFloat_Check #define is_intobject PyInt_Check #define is_longobject PyLong_Check -- cgit v0.12