Source
3737
3737
FUNC_LEAVE_NOAPI(ret_value)
3738
3738
} /* H5P_iterate_pclass() */
3739
3739
3740
3740
•
3741
3741
/*--------------------------------------------------------------------------
3742
3742
NAME
3743
3743
H5P_peek_unsigned
3744
3744
PURPOSE
3745
3745
Internal routine to quickly retrieve the value of a property in a property list.
3746
3746
USAGE
3747
-
int H5P_peek_unsigned(plist, name)
3748
-
H5P_genplist_t *plist; IN: Property list to check
3749
-
const char *name; IN: Name of property to query
3747
+
unsigned H5P_peek_unsigned(plist, name)
3748
+
H5P_genplist_t *plist; IN: Property list to check
3749
+
const char *name; IN: Name of property to query
3750
3750
RETURNS
3751
3751
Directly returns the value of the property in the list
3752
3752
DESCRIPTION
3753
3753
This function directly returns the value of a property in a property
3754
3754
list. Because this function is only able to just copy a particular property
3755
3755
value to the return value, there is no way to check for errors. We attempt
3756
3756
to make certain that bad things don't happen by validating that the size of
3757
3757
the property is the same as the size of the return type, but that can't
3758
3758
catch all errors.
3759
3759
This function does call the user's 'get' callback routine still.