]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 6 Mar 2003 22:04:24 +0000 (22:04 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 6 Mar 2003 22:04:24 +0000 (22:04 +0000)
Remove prototype and doc.  Backport candidate.

Doc/api/utilities.tex
Include/marshal.h

index 357ca0a84549d1fecd05bdd0129c37f40b65dec5..ab31f4e1df9aaa715085ce44614ad95416b9ff8d 100644 (file)
@@ -289,12 +289,6 @@ Numeric values are stored with the least significant byte first.
   regardless of the size of the native \ctype{long} type.
 \end{cfuncdesc}
 
-\begin{cfuncdesc}{void}{PyMarshal_WriteShortToFile}{short value, FILE *file}
-  Marshal a \ctype{short} integer, \var{value}, to \var{file}.  This
-  will only write the least-significant 16 bits of \var{value};
-  regardless of the size of the native \ctype{short} type.
-\end{cfuncdesc}
-
 \begin{cfuncdesc}{void}{PyMarshal_WriteObjectToFile}{PyObject *value,
                                                      FILE *file}
   Marshal a Python object, \var{value}, to \var{file}.
index cc73f23c1a331a85e21bfce83ca37f376e2750e2..f12309371b0b2589575c408241be2fa3a7d349d8 100644 (file)
@@ -8,7 +8,6 @@ extern "C" {
 #endif
 
 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
-PyAPI_FUNC(void) PyMarshal_WriteShortToFile(int, FILE *);
 PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
 PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);