mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Remove unused H5F_EN|DECODE_OFFSET macros (#3027)
This commit is contained in:
parent
40324e0c31
commit
962593fb0a
@ -445,32 +445,6 @@ typedef struct H5F_t H5F_t;
|
||||
#endif /* H5F_MODULE */
|
||||
|
||||
/* Macros to encode/decode offset/length's for storing in the file */
|
||||
#define H5F_ENCODE_OFFSET(f, p, o) \
|
||||
switch (H5F_SIZEOF_ADDR(f)) { \
|
||||
case 4: \
|
||||
UINT32ENCODE(p, o); \
|
||||
break; \
|
||||
case 8: \
|
||||
UINT64ENCODE(p, o); \
|
||||
break; \
|
||||
case 2: \
|
||||
UINT16ENCODE(p, o); \
|
||||
break; \
|
||||
}
|
||||
|
||||
#define H5F_DECODE_OFFSET(f, p, o) \
|
||||
switch (H5F_SIZEOF_ADDR(f)) { \
|
||||
case 4: \
|
||||
UINT32DECODE(p, o); \
|
||||
break; \
|
||||
case 8: \
|
||||
UINT64DECODE(p, o); \
|
||||
break; \
|
||||
case 2: \
|
||||
UINT16DECODE(p, o); \
|
||||
break; \
|
||||
}
|
||||
|
||||
#define H5F_ENCODE_LENGTH_LEN(p, l, s) \
|
||||
switch (s) { \
|
||||
case 4: \
|
||||
|
Loading…
x
Reference in New Issue
Block a user