[Python-checkins] python/dist/src/Include marshal.h,2.13,2.14

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sun Jun 27 12:51:48 EDT 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25751/Include

Modified Files:
	marshal.h 
Log Message:
Patch #923098: Share interned strings in marshal.


Index: marshal.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/marshal.h,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -d -r2.13 -r2.14
*** marshal.h	6 Mar 2003 22:04:22 -0000	2.13
--- marshal.h	27 Jun 2004 16:51:45 -0000	2.14
***************
*** 8,14 ****
  #endif
  
! PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
! PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
! PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
  
  PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
--- 8,16 ----
  #endif
  
! #define Py_MARSHAL_VERSION 1
! 
! PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
! PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
! PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);
  
  PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);




More information about the Python-checkins mailing list