diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-14 19:57:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-14 19:57:17 (GMT) |
commit | 0173a3720d0576dfdf4053ae7c8c406d930e0857 (patch) | |
tree | 754e6b6350769fde4db8655c144774e65c3383c2 /src/H5Ppublic.h | |
parent | 754cf917b499d4774e8b0495755741f21e29037e (diff) | |
download | hdf5-0173a3720d0576dfdf4053ae7c8c406d930e0857.zip hdf5-0173a3720d0576dfdf4053ae7c8c406d930e0857.tar.gz hdf5-0173a3720d0576dfdf4053ae7c8c406d930e0857.tar.bz2 |
[svn-r5993] Purpose:
New feature.
Description:
Add H5P_DEFAULT_HASH_SIZE macro for users to use as the default size of
hash tables for H5Pcreate_class.
Platforms tested:
FreeBSD 4.6 (sleipnir) w and w/o parallel
Linux 2.2.x (eirene) w/FORTRAN & C++
Solaris 2.7 (arabica) w/FORTRAN
IRIX64 6.5 (modi4) w/FORTRAN & parallel
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r-- | src/H5Ppublic.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 07cbec2..b0b332e 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -67,10 +67,6 @@ typedef herr_t (*H5P_prp_close_func_t)(const char *name, size_t size, void *valu /* Define property list iteration function type */ typedef herr_t (*H5P_iterate_t)(hid_t id, const char *name, void *iter_data); -#ifdef __cplusplus -extern "C" { -#endif - /* * The library created property list classes */ @@ -109,6 +105,13 @@ H5_DLLVAR hid_t H5P_LST_DATASET_CREATE_g; H5_DLLVAR hid_t H5P_LST_DATASET_XFER_g; H5_DLLVAR hid_t H5P_LST_MOUNT_g; +/* Default hash table size */ +#define H5P_DEFAULT_HASH_SIZE 17 + +#ifdef __cplusplus +extern "C" { +#endif + /* Public functions */ H5_DLL hid_t H5Pcreate_class(hid_t parent, const char *name, unsigned hashsize, H5P_cls_create_func_t cls_create, void *create_data, |