diff options
author | Alessandro Felder <alessandrofelder@users.noreply.github.com> | 2021-09-08 20:53:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 20:53:15 (GMT) |
commit | 8e06298ecfde5eb647b39cfe0dab70005f092199 (patch) | |
tree | 60812779599015ee44990d56a643767e9c93da73 /hl/src/H5LTpublic.h | |
parent | 919f9daec6f397dfdf3fd41d2ecf002d197db293 (diff) | |
download | hdf5-8e06298ecfde5eb647b39cfe0dab70005f092199.zip hdf5-8e06298ecfde5eb647b39cfe0dab70005f092199.tar.gz hdf5-8e06298ecfde5eb647b39cfe0dab70005f092199.tar.bz2 |
Add high-level set/get for `unsigned long long` attributes. (#973)
* add ULL attr set/get signatures to LT public API
* add LT implementation of ULL set/get attribute
* fix copy-paste typo in test comment
* add ULL test data
* define ullong attr name global variable
* add LT tests for ULL attr set/get
* Committing clang-format changes
* correct type passed to lt get attr test for ULL
* update RELEASE.txt with added ULL set/get functionality
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'hl/src/H5LTpublic.h')
-rw-r--r-- | hl/src/H5LTpublic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hl/src/H5LTpublic.h b/hl/src/H5LTpublic.h index 2af9b07..f19d353 100644 --- a/hl/src/H5LTpublic.h +++ b/hl/src/H5LTpublic.h @@ -139,6 +139,9 @@ H5_HLDLL herr_t H5LTset_attribute_long_long(hid_t loc_id, const char *obj_name, H5_HLDLL herr_t H5LTset_attribute_ulong(hid_t loc_id, const char *obj_name, const char *attr_name, const unsigned long *buffer, size_t size); +H5_HLDLL herr_t H5LTset_attribute_ullong(hid_t loc_id, const char *obj_name, const char *attr_name, + const unsigned long long *buffer, size_t size); + H5_HLDLL herr_t H5LTset_attribute_float(hid_t loc_id, const char *obj_name, const char *attr_name, const float *buffer, size_t size); @@ -182,6 +185,9 @@ H5_HLDLL herr_t H5LTget_attribute_long_long(hid_t loc_id, const char *obj_name, H5_HLDLL herr_t H5LTget_attribute_ulong(hid_t loc_id, const char *obj_name, const char *attr_name, unsigned long *data); +H5_HLDLL herr_t H5LTget_attribute_ullong(hid_t loc_id, const char *obj_name, const char *attr_name, + unsigned long long *data); + H5_HLDLL herr_t H5LTget_attribute_float(hid_t loc_id, const char *obj_name, const char *attr_name, float *data); |