[Python-checkins] python/dist/src/Include stringobject.h,2.35,2.36

loewis@users.sourceforge.net loewis@users.sourceforge.net
Wed, 14 Aug 2002 00:46:55 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv761/Include

Modified Files:
	stringobject.h 
Log Message:
Patch #505705: Remove eval in pickle and cPickle.


Index: stringobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/stringobject.h,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -d -r2.35 -r2.36
*** stringobject.h	12 Aug 2002 07:21:57 -0000	2.35
--- stringobject.h	14 Aug 2002 07:46:22 -0000	2.36
***************
*** 54,57 ****
--- 54,58 ----
  PyAPI_FUNC(int) PyString_Size(PyObject *);
  PyAPI_FUNC(char *) PyString_AsString(PyObject *);
+ PyAPI_FUNC(PyObject *) PyString_Repr(PyObject *, int);
  PyAPI_FUNC(void) PyString_Concat(PyObject **, PyObject *);
  PyAPI_FUNC(void) PyString_ConcatAndDel(PyObject **, PyObject *);
***************
*** 61,64 ****
--- 62,68 ----
  PyAPI_FUNC(PyObject *) _PyString_FormatLong(PyObject*, int, int,
  						  int, char**, int*);
+ extern DL_IMPORT(PyObject *) PyString_DecodeEscape(const char *, int, 
+ 						   const char *, int,
+ 						   const char *);
  
  PyAPI_FUNC(void) PyString_InternInPlace(PyObject **);