src/h5core/h5b_model.c:

- h5b_3d_has_view() now returns H5_SUCCESS or H5_NOK
This commit is contained in:
2016-03-11 17:53:30 +01:00
parent 59fd8ea6c6
commit 28fc118118
+4 -2
View File
@@ -24,7 +24,9 @@
/*!
\note
A partition must not be part of another partition.
There are some restrictions to views:
A partition cannot be inside another partition.
A partition must not divide another partition into two pieces.
@@ -543,7 +545,7 @@ h5_int64_t
h5b_3d_has_view (
const h5_file_t fh /*!< IN: File handle */
) {
return ((h5_file_p)fh)->b->have_layout;
return ( ((h5_file_p)fh)->b->have_layout > 0 ? H5_SUCCESS : H5_NOK );
}
h5_err_t