summaryrefslogtreecommitdiffstats
path: root/src/H5HGpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HGpkg.h')
-rw-r--r--src/H5HGpkg.h35
1 files changed, 20 insertions, 15 deletions
diff --git a/src/H5HGpkg.h b/src/H5HGpkg.h
index ab7cd09..99725d8 100644
--- a/src/H5HGpkg.h
+++ b/src/H5HGpkg.h
@@ -103,27 +103,32 @@ H5FL_BLK_EXTERN(gheap_chunk);
/****************************/
typedef struct H5HG_obj_t {
- int nrefs; /* reference count */
- size_t size; /* total size of object */
- uint8_t *begin; /* ptr to object into heap->chunk */
+ int nrefs; /* Reference count */
+ size_t size; /* Total size of object */
+ uint8_t *begin; /* Pointer to object into heap->chunk (INCLUDES header) */
} H5HG_obj_t;
/* Forward declarations for fields */
struct H5F_shared_t;
struct H5HG_heap_t {
- H5AC_info_t cache_info; /* Information for H5AC cache functions, _must_ be */
- /* first field in structure */
- haddr_t addr; /*collection address */
- size_t size; /*total size of collection */
- uint8_t *chunk; /*the collection, incl. header */
- size_t nalloc; /*numb object slots allocated */
- size_t nused; /*number of slots used */
- /* If this value is >65535 then all indices */
- /* have been used at some time and the */
- /* correct new index should be searched for */
- struct H5F_shared_t *shared; /* shared file */
- H5HG_obj_t *obj; /*array of object descriptions */
+ H5AC_info_t cache_info; /* Information for H5AC cache functions, MUST be
+ * the first field in structure
+ */
+ haddr_t addr; /* Collection address */
+ size_t size; /* Total size of collection */
+ uint8_t *chunk; /* Collection of elements - note that this
+ * INCLUDES the header, so it's not just
+ * the objects!
+ */
+ size_t nalloc; /* # object slots allocated */
+ size_t nused; /* # of slots used
+ * If this value is >65535 then all indices
+ * have been used at some time and the
+ * correct new index should be searched for
+ */
+ struct H5F_shared_t *shared; /* Shared file */
+ H5HG_obj_t *obj; /* Array of object descriptions */
};
/******************************/