summaryrefslogtreecommitdiffstats
path: root/src/H5Apkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r--src/H5Apkg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h
index a3910a9..6fa92e8 100644
--- a/src/H5Apkg.h
+++ b/src/H5Apkg.h
@@ -57,6 +57,8 @@
/* Define the main attribute structure */
struct H5A_t {
+ H5O_shared_t sh_loc; /* Shared message info (must be first) */
+
hbool_t initialized;/* Indicate whether the attribute has been modified */
hbool_t obj_opened; /* Object header entry opened? */
H5O_loc_t oloc; /* Object location for object attribute is on */
@@ -69,7 +71,6 @@ struct H5A_t {
size_t ds_size; /* Size of dataspace on disk */
void *data; /* Attribute data (on a temporary basis) */
size_t data_size; /* Size of data on disk */
- H5O_shared_t sh_loc; /* Location of shared message */
H5O_crt_idx_t crt_idx; /* Attribute's creation index in the object header */
};