A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017881.html below:

[Python-Dev] Where is PyMarshal_ReadShortFromFile() ?

[Python-Dev] Where is PyMarshal_ReadShortFromFile() ? [Python-Dev] Where is PyMarshal_ReadShortFromFile() ?James C. Ahlstrom jim@interet.com
Thu, 11 Oct 2001 10:48:45 -0400
I am looking at Python 2.2a3.

In Include/, marshal.h declares both PyMarshal_ReadLongFromFile()
and PyMarshal_ReadShortFromFile(), but the second seems to be
missing from marshal.c.  Or is it somewhere else?

Here is the code; put in marshal.c just before ReadLongFromFile at line 638:

int
PyMarshal_ReadShortFromFile(FILE *fp)
{
        RFILE rf;
        rf.fp = fp;
        return r_short(&rf);
}

Jim Ahlstrom



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4