summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-23 10:15:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-23 10:15:52 (GMT)
commit1202e83013bdbce9592d0bd70f41e84c83f6c2d5 (patch)
treec7926ea2ecc426f8cc1f31960d0c31c02bfd08dc /src/H5Opkg.h
parent8ee7c55feaf099695eb3b25cc9eda3ee5885a7bc (diff)
downloadhdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.zip
hdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.tar.gz
hdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.tar.bz2
[svn-r12801] Description:
Fix several errors in the "latest version" of the object header format changes and enable the new version when requested now. Clean up several confusing or duplicated sections of code. Tested on: Linux/32 2.4 (heping) Linux/64 2.4 (mir) FreeBSD/32 4.11 (sleipnir)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 2b52b79..b2a5dd6 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -41,7 +41,7 @@
/* The latest version of the format. Look through the 'flush'
* and 'size' callback for places to change when updating this. */
-#define H5O_VERSION_LATEST H5O_VERSION_1
+#define H5O_VERSION_LATEST H5O_VERSION_2
/*
* Align messages on 8-byte boundaries because we would like to copy the
@@ -332,6 +332,9 @@ H5_DLL void * H5O_read_real(const H5O_loc_t *loc, const H5O_msg_class_t *type,
int sequence, void *mesg, hid_t dxpl_id);
H5_DLL herr_t H5O_free_mesg(H5O_mesg_t *mesg);
H5_DLL void * H5O_free_real(const H5O_msg_class_t *type, void *mesg);
+#ifdef H5O_DEBUG
+H5_DLL herr_t H5O_assert(const H5O_t *oh);
+#endif /* H5O_DEBUG */
H5_DLL herr_t H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, int indent, int fwidth);
/* Shared object operators */