diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-29 18:19:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-29 18:19:05 (GMT) |
commit | 108114495fccaafcf77904f43e9c4cb90c4396f8 (patch) | |
tree | d7f57e606afd74369845ada2ddfa63d7343d92f8 /src/H5Opkg.h | |
parent | 55d4ec6ebf2f9f8037b33a39bc62bf93232771d8 (diff) | |
download | hdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.zip hdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.tar.gz hdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.tar.bz2 |
[svn-r13217] Description:
Move fill value messages into new shared message method calling scheme.
Only update an opened dataset's fill value property if it's different from
the default fill value settings.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r-- | src/H5Opkg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h index 29411d9..e75f297 100644 --- a/src/H5Opkg.h +++ b/src/H5Opkg.h @@ -160,7 +160,7 @@ /* Temporary macro to define which message classes are using the "new" * shared message "interface" for their methods. */ -#define H5O_NEW_SHARED(T) (T == H5O_MSG_PLINE) +#define H5O_NEW_SHARED(T) ((T) == H5O_MSG_PLINE || (T) == H5O_MSG_FILL_NEW || (T) == H5O_MSG_FILL) /* The "message class" type */ @@ -439,8 +439,9 @@ H5_DLL void * H5O_shared_decode_new(H5F_t *f, hid_t dxpl_id, const uint8_t *buf, H5_DLL herr_t H5O_shared_encode_new(const H5F_t *f, uint8_t *buf/*out*/, const H5O_shared_t *sh_mesg); H5_DLL size_t H5O_shared_size_new(const H5F_t *f, const H5O_shared_t *sh_mesg); H5_DLL herr_t H5O_shared_delete_new(H5F_t *f, hid_t dxpl_id, const H5O_shared_t *sh_mesg, - hbool_t adj_link); -H5_DLL herr_t H5O_shared_link_new(H5F_t *f, hid_t dxpl_id, const H5O_shared_t *sh_mesg); + const H5O_msg_class_t *mesg_type, hbool_t adj_link); +H5_DLL herr_t H5O_shared_link_new(H5F_t *f, hid_t dxpl_id, const H5O_shared_t *sh_mesg, + const H5O_msg_class_t *mesg_type); H5_DLL herr_t H5O_shared_copy_file_new(H5F_t *file_src, H5F_t *file_dst, hid_t dxpl_id, const H5O_msg_class_t *mesg_type, const void *_native_src, void *_native_dst, H5O_copy_t *cpy_info, void *udata); |