ceval.h: added Py_MakePendingCalls()
classobject.h: added instancebinop() modsupport.h: added newgetargs() rename1.h: removed Py_FPROTO
This commit is contained in:
parent
6c849697fd
commit
c5d92e1271
|
@ -41,6 +41,7 @@ void printtraceback PROTO((object *));
|
|||
void flushline PROTO((void));
|
||||
|
||||
int Py_AddPendingCall PROTO((int (*func) PROTO((ANY *)), ANY *arg));
|
||||
int Py_MakePendingCalls PROTO((void));
|
||||
|
||||
|
||||
/* Interface for threads.
|
||||
|
|
|
@ -71,6 +71,8 @@ extern object *instancemethodgetclass PROTO((object *));
|
|||
|
||||
extern int issubclass PROTO((object *, object *));
|
||||
|
||||
extern object *instancebinop PROTO((object *, object *, char *, char *));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -35,6 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <stdarg.h>
|
||||
|
||||
extern int getargs PROTO((object *, char *, ...));
|
||||
extern int newgetargs PROTO((object *, char *, ...));
|
||||
extern object *mkvalue PROTO((char *, ...));
|
||||
|
||||
#else
|
||||
|
|
|
@ -118,7 +118,6 @@ typedef struct methodlist PyMethodDef;
|
|||
#define PyObject_NEW NEWOBJ
|
||||
#define PyObject_NEW_VAR NEWVAROBJ
|
||||
#define Py_PROTO PROTO
|
||||
#define Py_FPROTO PROTO
|
||||
#define PyMem_NEW NEW
|
||||
#define PyMem_RESIZE RESIZE
|
||||
#define PyMem_DEL DEL
|
||||
|
|
Loading…
Reference in New Issue