diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-30 22:53:18 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-30 22:53:18 (GMT) |
commit | ddd5e4a6c329fbd6a791dde579020621d3e0e6c1 (patch) | |
tree | 08cb812561bbee2f6139f75a416739fc59a7ef67 /src/H5Ipublic.h | |
parent | 36befb6bfe1f8f8dd3aa0f8e942fe5decadf5554 (diff) | |
download | hdf5-ddd5e4a6c329fbd6a791dde579020621d3e0e6c1.zip hdf5-ddd5e4a6c329fbd6a791dde579020621d3e0e6c1.tar.gz hdf5-ddd5e4a6c329fbd6a791dde579020621d3e0e6c1.tar.bz2 |
Add format string macros PRI[doxX]HID for hid_t and use PRIdHID.
Diffstat (limited to 'src/H5Ipublic.h')
-rw-r--r-- | src/H5Ipublic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h index 34a408f..c0334b0 100644 --- a/src/H5Ipublic.h +++ b/src/H5Ipublic.h @@ -53,6 +53,12 @@ typedef enum H5I_type_t { /* Type of atoms to return to users */ typedef int64_t hid_t; + +#define PRIdHID PRId64 +#define PRIxHID PRIx64 +#define PRIXHID PRIX64 +#define PRIoHID PRIo64 + #define H5_SIZEOF_HID_T H5_SIZEOF_INT64_T /* An invalid object ID. This is also negative for error return. */ |