summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2020-08-06 19:22:29 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2020-08-06 19:22:29 (GMT)
commit302dfeb11b4bb5d204683dbfd6824586b3863122 (patch)
tree07a5fe6a6e5ff2c75ad9ed1510e5ad3cb14bcb86 /src/H5Tpkg.h
parentee274b97f8e577b874165e93f95e7dbf8e73e675 (diff)
parentef6db167a86e6c065d46963dbd75cd325fe83813 (diff)
downloadhdf5-302dfeb11b4bb5d204683dbfd6824586b3863122.zip
hdf5-302dfeb11b4bb5d204683dbfd6824586b3863122.tar.gz
hdf5-302dfeb11b4bb5d204683dbfd6824586b3863122.tar.bz2
Merge pull request #2715 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:fix_vlen_ref to develop
* commit 'ef6db167a86e6c065d46963dbd75cd325fe83813': H5R: fix encoding of references that are part of compound types
Diffstat (limited to 'src/H5Tpkg.h')
-rw-r--r--src/H5Tpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index 600d7aa..3eaec8c 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -49,7 +49,7 @@
#define H5T_NAMELEN 32
/* Macro to ease detecting "complex" datatypes (i.e. those with base types or fields) */
-#define H5T_IS_COMPLEX(t) ((t) == H5T_COMPOUND || (t) == H5T_ENUM || (t) == H5T_VLEN || (t) == H5T_ARRAY)
+#define H5T_IS_COMPLEX(t) ((t) == H5T_COMPOUND || (t) == H5T_ENUM || (t) == H5T_VLEN || (t) == H5T_ARRAY || (t) == H5T_REFERENCE)
/* Macro to ease detecting fixed "string" datatypes */
#define H5T_IS_FIXED_STRING(dt) (H5T_STRING == (dt)->type)