added callable, removed run_pyc_file

This commit is contained in:
Guido van Rossum 1995-02-07 15:26:59 +00:00
parent eb8b0d20c1
commit 9e89f0a5b3
2 changed files with 1 additions and 1 deletions

View File

@ -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));

View File

@ -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