Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1930949

Browse files
committed
Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented
Remove prototype and doc. Backport candidate.
1 parent bd836df commit 1930949

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

Doc/api/utilities.tex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,6 @@ \section{Data marshalling support \label{marshalling-utils}}
289289
regardless of the size of the native \ctype{long} type.
290290
\end{cfuncdesc}
291291

292-
\begin{cfuncdesc}{void}{PyMarshal_WriteShortToFile}{short value, FILE *file}
293-
Marshal a \ctype{short} integer, \var{value}, to \var{file}. This
294-
will only write the least-significant 16 bits of \var{value};
295-
regardless of the size of the native \ctype{short} type.
296-
\end{cfuncdesc}
297-
298292
\begin{cfuncdesc}{void}{PyMarshal_WriteObjectToFile}{PyObject *value,
299293
FILE *file}
300294
Marshal a Python object, \var{value}, to \var{file}.

Include/marshal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ extern "C" {
88
#endif
99

1010
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
11-
PyAPI_FUNC(void) PyMarshal_WriteShortToFile(int, FILE *);
1211
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
1312
PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
1413

0 commit comments

Comments
 (0)