diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2009-04-20 19:12:19 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2009-04-20 19:12:19 (GMT) |
commit | 8c074d5c03ccecf3c133208fdc603d55774e880a (patch) | |
tree | 3520d740df8cc3644de5b08244b7628a6d07712c /tools | |
parent | b8036fc5f6db4b6ddd528e741697224db7aba23a (diff) | |
download | hdf5-8c074d5c03ccecf3c133208fdc603d55774e880a.zip hdf5-8c074d5c03ccecf3c133208fdc603d55774e880a.tar.gz hdf5-8c074d5c03ccecf3c133208fdc603d55774e880a.tar.bz2 |
[svn-r16807] Purpose: Fix bug 1533
Description:
Previously, there was no versioning for H5Z_class_t. This prevented applications
written for 1.6 using custom filters from being able to use the 1.8 library.
There is now an H5Z_class1_t and H5Z_class2_t to enable compatibility. H5Zregister is
*not* versioned, it determines which version of the struct has been passed in by the
value of the first field (id or version, both are ints).
Tested: jam, linew, smirom (h5committest), jam (--with-default-api-version=v16)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dumpgentest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c index b8a3753..c7e1445 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -122,7 +122,7 @@ set_local_myfilter(hid_t dcpl_id, hid_t tid, hid_t UNUSED sid); #define MYFILTER_ID 405 /* This message derives from H5Z */ -const H5Z_class_t H5Z_MYFILTER[1] = {{ +const H5Z_class2_t H5Z_MYFILTER[1] = {{ H5Z_CLASS_T_VERS, MYFILTER_ID, /* Filter id number */ 1, 1, |