mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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
This commit is contained in:
parent
4ac2eb4d51
commit
57ed75800a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user