summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-11-10 20:45:38 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-11-10 20:45:38 (GMT)
commit169579ee4d4584274db94e0048b1854878c9ad01 (patch)
treec6eef33a64f3d257b2dcb22a5ca9172aee0bccc1
parent06d7d06a2bb95be6367b8291c035f0332f687ca7 (diff)
downloadhdf5-169579ee4d4584274db94e0048b1854878c9ad01.zip
hdf5-169579ee4d4584274db94e0048b1854878c9ad01.tar.gz
hdf5-169579ee4d4584274db94e0048b1854878c9ad01.tar.bz2
[svn-r2860] ./hdf5/src/H5Pprivate.h
* 2000-11-10 Robb Matzke <matzke@llnl.gov> Changed `class' to `cls' in various places since the former is a C++ reserved word and some C compilers (like the one on blue) complain.
-rw-r--r--src/H5Pprivate.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index 676254e..571d913 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -92,22 +92,28 @@ typedef struct {
H5D_xfer_t dxfer; /* Data transfer properties */
H5F_mprop_t mount; /* Mounting properties */
} u;
- H5P_class_t class; /* Property list class */
+ H5P_class_t cls; /* Property list class */
} H5P_t;
/* Private functions, not part of the publicly documented API */
-__DLL__ H5P_genclass_t *H5P_create_class(H5P_genclass_t *par_class, const char *name,
- uintn hashsize, uintn internal,
- H5P_cls_create_func_t cls_create, void *create_data,
- H5P_cls_close_func_t cls_close, void *close_data);
-__DLL__ H5P_genplist_t *H5P_create_list(H5P_genclass_t *class);
-__DLL__ herr_t H5P_register(H5P_genclass_t *class, 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);
+__DLL__ H5P_genclass_t *H5P_create_class(H5P_genclass_t *par_class,
+ const char *name,
+ uintn hashsize, uintn internal,
+ H5P_cls_create_func_t cls_create,
+ void *create_data,
+ H5P_cls_close_func_t cls_close,
+ void *close_data);
+__DLL__ H5P_genplist_t *H5P_create_list(H5P_genclass_t *cls);
+__DLL__ herr_t H5P_register(H5P_genclass_t *cls, 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);
__DLL__ herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size,
- void *value, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get,
- H5P_prp_close_func_t prp_close);
+ void *value, H5P_prp_set_func_t prp_set,
+ H5P_prp_get_func_t prp_get,
+ H5P_prp_close_func_t prp_close);
__DLL__ herr_t H5P_set(H5P_genplist_t *plist, const char *name, void *value);
__DLL__ herr_t H5P_exist(H5P_genplist_t *plist, const char *name);
__DLL__ herr_t H5P_get_size(H5P_genplist_t *plist, const char *name);
@@ -115,7 +121,7 @@ __DLL__ herr_t H5P_get(H5P_genplist_t *plist, const char *name, void *value);
__DLL__ herr_t H5P_remove(H5P_genplist_t *plist, const char *name);
__DLL__ herr_t H5P_unregister(H5P_genclass_t *pclass, const char *name);
__DLL__ herr_t H5P_close_list(H5P_genplist_t *plist);
-__DLL__ herr_t H5P_close_class(H5P_genclass_t *class);
+__DLL__ herr_t H5P_close_class(H5P_genclass_t *cls);
__DLL__ herr_t H5P_init(void);
__DLL__ hid_t H5P_create(H5P_class_t type, H5P_t *plist);
__DLL__ void *H5P_copy(H5P_class_t type, const void *src);