added callable, removed run_pyc_file
This commit is contained in:
parent
eb8b0d20c1
commit
9e89f0a5b3
|
@ -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));
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue