summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTpublic.h
diff options
context:
space:
mode:
authorAlessandro Felder <alessandrofelder@users.noreply.github.com>2021-09-08 20:53:15 (GMT)
committerGitHub <noreply@github.com>2021-09-08 20:53:15 (GMT)
commit8e06298ecfde5eb647b39cfe0dab70005f092199 (patch)
tree60812779599015ee44990d56a643767e9c93da73 /hl/src/H5LTpublic.h
parent919f9daec6f397dfdf3fd41d2ecf002d197db293 (diff)
downloadhdf5-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.h6
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);