summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2020-07-28 21:26:20 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2020-07-28 21:36:19 (GMT)
commitef6db167a86e6c065d46963dbd75cd325fe83813 (patch)
tree286d737712315277c493bf0499fd30755b0c9fa0 /src/H5Tpkg.h
parentb201a78b33bd572f401c7d1693d06af0103e1a96 (diff)
downloadhdf5-ef6db167a86e6c065d46963dbd75cd325fe83813.zip
hdf5-ef6db167a86e6c065d46963dbd75cd325fe83813.tar.gz
hdf5-ef6db167a86e6c065d46963dbd75cd325fe83813.tar.bz2
H5R: fix encoding of references that are part of compound types
Add corresponding test and some debug information
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)