From 1930949a8aa2e5e2d220857a18ac5e1ebd03b750 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 6 Mar 2003 22:04:24 +0000 Subject: [PATCH] Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented Remove prototype and doc. Backport candidate. --- Doc/api/utilities.tex | 6 ------ Include/marshal.h | 1 - 2 files changed, 7 deletions(-) diff --git a/Doc/api/utilities.tex b/Doc/api/utilities.tex index 357ca0a845..ab31f4e1df 100644 --- a/Doc/api/utilities.tex +++ b/Doc/api/utilities.tex @@ -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}. diff --git a/Include/marshal.h b/Include/marshal.h index cc73f23c1a..f12309371b 100644 --- a/Include/marshal.h +++ b/Include/marshal.h @@ -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 *); -- 2.50.1