mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Document H5Punregister modifying default properties (#4570)
This commit is contained in:
@@ -1397,8 +1397,10 @@ done:
|
||||
Returns non-negative on success, negative on failure.
|
||||
DESCRIPTION
|
||||
Removes a property from a property list class. Future property lists
|
||||
created of that class will not contain this property. Existing property
|
||||
lists containing this property are not affected.
|
||||
created of that class will not contain this property. Existing property lists
|
||||
which still use the default value for this property will have this property removed.
|
||||
Existing property lists which have modified this property will not be affected.
|
||||
|
||||
|
||||
GLOBAL VARIABLES
|
||||
COMMENTS, BUGS, ASSUMPTIONS
|
||||
@@ -1419,7 +1421,7 @@ H5Punregister(hid_t pclass_id, const char *name)
|
||||
if (!name || !*name)
|
||||
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name");
|
||||
|
||||
/* Remove the property list from class */
|
||||
/* Remove the property from property list class */
|
||||
if ((ret_value = H5P__unregister(pclass, name)) < 0)
|
||||
HGOTO_ERROR(H5E_PLIST, H5E_CANTREGISTER, FAIL, "unable to remove property from class");
|
||||
|
||||
|
||||
+2
-2
@@ -108,10 +108,10 @@ struct H5P_genclass_t {
|
||||
struct H5P_genplist_t {
|
||||
H5P_genclass_t *pclass; /* Pointer to class info */
|
||||
hid_t plist_id; /* Copy of the property list ID (for use in close callback) */
|
||||
size_t nprops; /* Number of properties in class */
|
||||
size_t nprops; /* Number of properties in this list */
|
||||
bool class_init; /* Whether the class initialization callback finished successfully */
|
||||
H5SL_t *del; /* Skip list containing names of deleted properties */
|
||||
H5SL_t *props; /* Skip list containing properties */
|
||||
H5SL_t *props; /* Skip list containing properties modified from the parent class */
|
||||
};
|
||||
|
||||
/* Property list/class iterator callback function pointer */
|
||||
|
||||
Reference in New Issue
Block a user