Remove unused H5F_EN|DECODE_OFFSET macros (#3027)

This commit is contained in:
Dana Robinson 2023-05-30 08:33:22 -07:00 committed by GitHub
parent 40324e0c31
commit 962593fb0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: \