summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-22 15:29:47 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-22 15:29:47 (GMT)
commit57ed75800a0ff96eeae1d076602b3f89740d7c8c (patch)
treedbad72096ff4f292d1be9d241db02329539b8c4a /src/H5Ppublic.h
parent4ac2eb4d51eb0d3c0483b0aa85ecc4dc9c28a914 (diff)
downloadhdf5-57ed75800a0ff96eeae1d076602b3f89740d7c8c.zip
hdf5-57ed75800a0ff96eeae1d076602b3f89740d7c8c.tar.gz
hdf5-57ed75800a0ff96eeae1d076602b3f89740d7c8c.tar.bz2
[svn-r2586] Purpose:
Bug Fix Description: The prototype for the H5Pregister function has a variable named `class'. This is a reserved word in C++ and causes the C++ compiler to freak. Solution: This variable's name was changed to cls_id in the .c file, so I changed it in the header file to cls_id to match. Platforms tested: Linux
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index bf5b3f6..3d2b253 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -84,7 +84,7 @@ __DLL__ hid_t H5Pcreate_class(hid_t parent, const char *name, unsigned hashsize,
H5P_cls_create_func_t cls_create, void *create_data,
H5P_cls_close_func_t cls_close, void *close_data);
__DLL__ hid_t H5Pcreate_list(hid_t cls_id);
-__DLL__ herr_t H5Pregister(hid_t class, const char *name, size_t size,
+__DLL__ herr_t H5Pregister(hid_t cls_id, const char *name, size_t size,
void *def_value, H5P_prp_create_func_t prp_create,
H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get,
H5P_prp_close_func_t prp_close);