summaryrefslogtreecommitdiffstats
path: root/src/H5Spublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-23 20:12:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-23 20:12:37 (GMT)
commitdb59b0650e28ce3a02996aeaf76e4cc28d599391 (patch)
treec4bf289c5e890cc886a30eb9626ddd48d0b1af80 /src/H5Spublic.h
parent6b449ba34aa4825c65143b9adce63b2a3c9c669e (diff)
downloadhdf5-db59b0650e28ce3a02996aeaf76e4cc28d599391.zip
hdf5-db59b0650e28ce3a02996aeaf76e4cc28d599391.tar.gz
hdf5-db59b0650e28ce3a02996aeaf76e4cc28d599391.tar.bz2
[svn-r786] Added H5S_MAX_RANK as publicly visible constant for the maximum number of
dimensions a dataset can have, currently set to 31.
Diffstat (limited to 'src/H5Spublic.h')
-rw-r--r--src/H5Spublic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Spublic.h b/src/H5Spublic.h
index 5136544..f89409e 100644
--- a/src/H5Spublic.h
+++ b/src/H5Spublic.h
@@ -24,6 +24,10 @@
#define H5S_ALL (-2)
#define H5S_UNLIMITED ((hsize_t)(hssize_t)(-1))
+/* Define user-level maximum number of dimensions */
+/* This is not used internally to the library, see H5O_LAYOUT_NDIMS for the internal constant */
+#define H5S_MAX_RANK 31
+
/* Different types of dataspaces */
typedef enum H5S_class_t {
H5S_NO_CLASS = -1, /*error */