[Python-checkins] CVS: python/dist/src/Include dictobject.h,2.15,2.16

Jeremy Hylton python-dev@python.org
Thu, 30 Mar 2000 17:27:30 -0500


Update of /projects/cvsroot/python/dist/src/Include
In directory goon.cnri.reston.va.us:/home/jhylton/python/src/Include

Modified Files:
	dictobject.h 
Log Message:
Add PyDict_Copy() function to C API for dicts.  It returns a new
dictionary that contains the same key/value pairs as p.


Index: dictobject.h
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Include/dictobject.h,v
retrieving revision 2.15
retrieving revision 2.16
diff -C2 -r2.15 -r2.16
*** dictobject.h	1998/12/04 18:47:57	2.15
--- dictobject.h	2000/03/30 22:27:28	2.16
***************
*** 53,56 ****
--- 53,58 ----
  extern DL_IMPORT(PyObject *) PyDict_Items Py_PROTO((PyObject *mp));
  extern DL_IMPORT(int) PyDict_Size Py_PROTO((PyObject *mp));
+ extern DL_IMPORT(PyObject *) PyDict_Copy Py_PROTO((PyObject *mp));
+ 
  
  extern DL_IMPORT(PyObject *) PyDict_GetItemString Py_PROTO((PyObject *dp, char *key));