... and yet more ANSIfications...

This commit is contained in:
Thomas Wouters 2000-07-24 11:36:47 +00:00
parent 770e4042db
commit 4789b3ae05
1 changed files with 4 additions and 3 deletions

View File

@ -134,9 +134,6 @@ static PyObject *__class___str, *__getinitargs___str, *__dict___str,
*read_str, *readline_str, *__main___str, *__basicnew___str, *read_str, *readline_str, *__main___str, *__basicnew___str,
*copy_reg_str, *dispatch_table_str, *safe_constructors_str, *empty_str; *copy_reg_str, *dispatch_table_str, *safe_constructors_str, *empty_str;
static int save();
static int put2();
#ifndef PyList_SET_ITEM #ifndef PyList_SET_ITEM
#define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v)) #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
#endif #endif
@ -354,6 +351,10 @@ typedef struct Unpicklerobject {
staticforward PyTypeObject Unpicklertype; staticforward PyTypeObject Unpicklertype;
/* Forward decls that need the above structs */
static int save(Picklerobject *, PyObject *, int);
static int put2(Picklerobject *, PyObject *);
int int
cPickle_PyMapping_HasKey(PyObject *o, PyObject *key) { cPickle_PyMapping_HasKey(PyObject *o, PyObject *key) {
PyObject *v; PyObject *v;