Kaydet (Commit) 1930949a authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented

Remove prototype and doc.  Backport candidate.
üst bd836dfb
......@@ -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}.
......
......@@ -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 *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment