diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-06 22:04:24 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-06 22:04:24 (GMT) |
commit | 1930949a8aa2e5e2d220857a18ac5e1ebd03b750 (patch) | |
tree | 19484dcdf8eb19c55cceefaaddf5c7dae527ab4d | |
parent | bd836dfba3fd0d86807196c4049e998a4b9b9b92 (diff) | |
download | cpython-1930949a8aa2e5e2d220857a18ac5e1ebd03b750.zip cpython-1930949a8aa2e5e2d220857a18ac5e1ebd03b750.tar.gz cpython-1930949a8aa2e5e2d220857a18ac5e1ebd03b750.tar.bz2 |
Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented
Remove prototype and doc. Backport candidate.
-rw-r--r-- | Doc/api/utilities.tex | 6 | ||||
-rw-r--r-- | Include/marshal.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Doc/api/utilities.tex b/Doc/api/utilities.tex index 357ca0a..ab31f4e 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 cc73f23..f123093 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 *); |