Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
7c3e924f
Commit
7c3e924f
authored
Jan 18, 2001
by
Niels Möller
Browse files
* src/lsh_types.h: Improved formatting.
Rev: src/lsh_types.h:1.42
parent
63320059
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh_types.h
View file @
7c3e924f
...
...
@@ -116,10 +116,10 @@ char *alloca ();
/* Reads a 32-bit integer, in network byte order */
#define READ_UINT32(p) \
((((UINT32) (p)[0]) << 24) \
(
(((UINT32) (p)[0]) << 24) \
| (((UINT32) (p)[1]) << 16) \
| (((UINT32) (p)[2]) << 8) \
| ((UINT32) (p)[3]))
|
((UINT32) (p)[3]))
#define WRITE_UINT32(p, i) \
do { \
...
...
@@ -131,14 +131,14 @@ do { \
/* Same, for 24-bit quantities */
#define READ_UINT24(p) \
((((UINT32) (p)[0]) << 24) \
(
(((UINT32) (p)[0]) << 24) \
| (((UINT32) (p)[1]) << 16) \
| ((UINT32) (p)[2]))
|
((UINT32) (p)[2]))
/* Same, for 16-bit quantities */
#define READ_UINT16(p) \
((((UINT32) (p)[0]) << 16) \
| ((UINT32) (p)[1]))
(
(((UINT32) (p)[0]) << 16) \
|
((UINT32) (p)[1]))
#define WRITE_UINT16(p, i) \
do { \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment