diff options
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 944ae35..806b91c 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -635,6 +635,14 @@ r_object(RFILE *p) } } +int +PyMarshal_ReadShortFromFile(FILE *fp) +{ + RFILE rf; + rf.fp = fp; + return r_short(&rf); +} + long PyMarshal_ReadLongFromFile(FILE *fp) { |