23 #error "Do not include this file outside the H5HG package!" 30 #include "H5HGprivate.h" 33 #include "H5ACprivate.h" 34 #include "H5FLprivate.h" 61 #define H5HG_VERSION 1 69 #define H5HG_MINSIZE 4096 77 #define H5HG_ALIGNMENT 8 78 #define H5HG_ALIGN(X) (H5HG_ALIGNMENT*(((X)+H5HG_ALIGNMENT-1)/H5HG_ALIGNMENT)) 79 #define H5HG_ISALIGNED(X) ((X)==H5HG_ALIGN(X)) 85 #define H5HG_SIZEOF_HDR(f) \ 86 (size_t)H5HG_ALIGN(4 + \ 95 #define H5HG_SIZEOF_OBJHDR(f) \ 96 (size_t)H5HG_ALIGN(2 + \ 108 #define H5HG_NOBJS(f,z) ((((z)-H5HG_SIZEOF_HDR(f))/ \ 109 H5HG_SIZEOF_OBJHDR(f)+2)) H5_DLLVAR const H5AC_class_t H5AC_GHEAP[1]
H5_DLL H5HG_heap_t * H5HG_protect(H5F_t *f, hid_t dxpl_id, haddr_t addr, H5AC_protect_t rw)
H5FL_SEQ_EXTERN(H5HG_obj_t)
H5FL_BLK_EXTERN(gheap_chunk)
struct H5F_file_t * shared
H5_DLL herr_t H5HG_free(H5HG_heap_t *heap)
struct H5HG_obj_t H5HG_obj_t