summaryrefslogtreecommitdiffstats
path: root/src/H5Apublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:25:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:25:35 (GMT)
commitbda4c6c94e77a5ff0aceb7117c90e371505ba233 (patch)
treec19e1bc715f877c20e564ebd23d6818104acfad1 /src/H5Apublic.h
parent808847e0a1f5671c61e51455e8d6314d83341fef (diff)
downloadhdf5-bda4c6c94e77a5ff0aceb7117c90e371505ba233.zip
hdf5-bda4c6c94e77a5ff0aceb7117c90e371505ba233.tar.gz
hdf5-bda4c6c94e77a5ff0aceb7117c90e371505ba233.tar.bz2
[svn-r792] Changed return type for H5Aget_name from size_t to hssize_t to allow negative
error values to be returned correctly.
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r--src/H5Apublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index f40d17e..43542a3 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -36,7 +36,7 @@ herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf);
herr_t H5Aclose(hid_t attr_id);
hid_t H5Aget_space(hid_t attr_id);
hid_t H5Aget_type(hid_t attr_id);
-size_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf);
+hssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf);
int H5Aget_num_attrs(hid_t loc_id);
int H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op,
void *op_data);