更新 6.0s1.h
This commit is contained in:
parent
693fa9e5f6
commit
80463fd688
18
6.0s1.h
18
6.0s1.h
|
@ -58,10 +58,10 @@ void write_char(s1_char value, struct s1_location loc) {
|
|||
s1_assert(rc != EOF, "Error: write_char", loc);
|
||||
}
|
||||
|
||||
#define write_int(value) write_int(value, S1_LOC())
|
||||
#define write_long(value) write_long(value, S1_LOC())
|
||||
#define write_double(value) write_double(value, S1_LOC())
|
||||
#define write_char(value) write_char(value, S1_LOC())
|
||||
# define write_int(value) write_int(value, S1_LOC())
|
||||
# define write_long(value) write_long(value, S1_LOC())
|
||||
# define write_double(value) write_double(value, S1_LOC())
|
||||
# define write_char(value) write_char(value, S1_LOC())
|
||||
|
||||
s1_int read_int(struct s1_location loc) {
|
||||
s1_int value = 0;
|
||||
|
@ -106,11 +106,11 @@ void read_pnl(struct s1_location loc) {
|
|||
}
|
||||
|
||||
|
||||
#define read_int() read_int(S1_LOC())
|
||||
#define read_long() read_long(S1_LOC())
|
||||
#define read_double() read_double(S1_LOC())
|
||||
#define read_char() read_char(S1_LOC())
|
||||
#define read_pnl() read_pnl(S1_LOC())
|
||||
# define read_int() read_int(S1_LOC())
|
||||
# define read_long() read_long(S1_LOC())
|
||||
# define read_double() read_double(S1_LOC())
|
||||
# define read_char() read_char(S1_LOC())
|
||||
# define read_pnl() read_pnl(S1_LOC())
|
||||
# endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue