[Python-checkins] CVS: python/dist/src/Modules cPickle.c,2.46,2.47

Thomas Wouters python-dev@python.org
2000年7月24日 04:36:50 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv13358
Modified Files:
	cPickle.c 
Log Message:
... and yet more ANSIfications...
Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.46
retrieving revision 2.47
diff -C2 -r2.46 -r2.47
*** cPickle.c	2000年07月22日 23:56:07	2.46
--- cPickle.c	2000年07月24日 11:36:47	2.47
***************
*** 135,141 ****
 *copy_reg_str, *dispatch_table_str, *safe_constructors_str, *empty_str;
 
- static int save();
- static int put2();
- 
 #ifndef PyList_SET_ITEM
 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
--- 135,138 ----
***************
*** 354,357 ****
--- 351,358 ----
 
 staticforward PyTypeObject Unpicklertype;
+ 
+ /* Forward decls that need the above structs */
+ static int save(Picklerobject *, PyObject *, int);
+ static int put2(Picklerobject *, PyObject *);
 
 int 

AltStyle によって変換されたページ (->オリジナル) /