diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-29 19:26:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-29 19:26:32 (GMT) |
commit | 39a94b2f538e6b4d1b13362e022141ba8cb599c0 (patch) | |
tree | 93c81660e0b8e423868bed0ca907bfe046b4c878 /src/H5Oprivate.h | |
parent | c48f8b7590ed6bc334a6d62ab651cda8124ba90f (diff) | |
download | hdf5-39a94b2f538e6b4d1b13362e022141ba8cb599c0.zip hdf5-39a94b2f538e6b4d1b13362e022141ba8cb599c0.tar.gz hdf5-39a94b2f538e6b4d1b13362e022141ba8cb599c0.tar.bz2 |
[svn-r53] Added datatype and dimensionality messages to dataset header, cleaned up more
code, etc.
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index 43aace9..f097195 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -22,6 +22,8 @@ #include <H5private.h> #include <H5Fprivate.h> #include <H5Gprivate.h> +#include <H5Tprivate.h> +#include <H5Pprivate.h> #define H5O_MIN_SIZE 16 /*min obj header data size */ #define H5O_NMESGS 32 /*initial number of messages */ @@ -96,6 +98,8 @@ extern const H5O_class_t H5O_NULL[1]; #define H5O_SIM_DIM_ID 0x0001 extern const H5O_class_t H5O_SIM_DIM[1]; +/* Hmm, let's try this... */ +#ifdef QAK typedef struct { uint32 rank; /* Number of dimensions */ uint32 dim_flags; /* Dimension flags */ @@ -103,6 +107,9 @@ typedef struct { uint32 *max; /* Maximum dimension sizes */ uint32 *perm; /* Dimension permutations */ } H5O_sim_dim_t; +#else /* QAK */ +typedef H5P_sdim_t H5O_sim_dim_t; +#endif /* QAK */ /* * Simple Datatype message. @@ -110,11 +117,16 @@ typedef struct { #define H5O_SIM_DTYPE_ID 0x0003 extern const H5O_class_t H5O_SIM_DTYPE[1]; +/* Hmm, let's try this... */ +#ifdef QAK typedef struct { uint8 length; /* Number of bytes */ uint8 arch; /* Architecture format of the data */ hatom_t type; /* Type of the data */ } H5O_sim_dtype_t; +#else /* QAK */ +typedef h5_atomic_type_t H5O_sim_dtype_t; +#endif /* QAK */ /* * Object name message. |