diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-30 20:03:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-30 20:03:37 (GMT) |
commit | a4069db8f48121ca11d0465b260d9cd81152581b (patch) | |
tree | 37348ad7d71058a6f449255073d631db8c33794a /src/H5Gpkg.h | |
parent | 1374654210854d005546459e48c482c5ea01cba2 (diff) | |
download | hdf5-a4069db8f48121ca11d0465b260d9cd81152581b.zip hdf5-a4069db8f48121ca11d0465b260d9cd81152581b.tar.gz hdf5-a4069db8f48121ca11d0465b260d9cd81152581b.tar.bz2 |
[svn-r14131] Description:
Move H5Giterate() and H5G_iterate_t to deprecated symbols section,
replacing them with H5Literate and H5L_iterate_t respectively.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
AIX/32 5.3 (copper)
Solaris/32 5.10 (linew)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r-- | src/H5Gpkg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h index b17a54d..427dec4 100644 --- a/src/H5Gpkg.h +++ b/src/H5Gpkg.h @@ -133,12 +133,16 @@ typedef herr_t (*H5G_lib_iterate_t)(const H5O_link_t *lnk, void *op_data); /* Describe kind of callback to make for each link */ typedef struct { enum { +#ifndef H5_NO_DEPRECATED_SYMBOLS H5G_LINK_OP_OLD, /* Old application callback */ +#endif /* H5_NO_DEPRECATED_SYMBOLS */ H5G_LINK_OP_APP, /* Application callback */ H5G_LINK_OP_LIB /* Library internal callback */ } op_type; union { +#ifndef H5_NO_DEPRECATED_SYMBOLS H5G_iterate_t old_op; /* Old application callback for each link */ +#endif /* H5_NO_DEPRECATED_SYMBOLS */ H5L_iterate_t app_op; /* Application callback for each link */ H5G_lib_iterate_t lib_op; /* Library internal callback for each link */ } u; |