comparison Python/marshal.c @ 1319:cd397266dc1c legacy-trunk

* Makefile: added all: and default: targets. * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
author Guido van Rossum <guido@python.org>
date Mon, 05 Jul 1993 10:31:29 +0000
parents 9fed5726a36d
children b724599401ff
comparison
equal deleted inserted replaced
1318:92e6a8cf14be 1319:cd397266dc1c
32 #include "longintrepr.h" 32 #include "longintrepr.h"
33 #include "compile.h" 33 #include "compile.h"
34 #include "marshal.h" 34 #include "marshal.h"
35 35
36 #include <errno.h> 36 #include <errno.h>
37 extern int errno;
38 37
39 #define TYPE_NULL '0' 38 #define TYPE_NULL '0'
40 #define TYPE_NONE 'N' 39 #define TYPE_NONE 'N'
41 #define TYPE_INT 'i' 40 #define TYPE_INT 'i'
42 #define TYPE_FLOAT 'f' 41 #define TYPE_FLOAT 'f'