summaryrefslogtreecommitdiffstats
path: root/src/H5ACprivate.h
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2005-05-02 18:58:28 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2005-05-02 18:58:28 (GMT)
commitcc44e6af631d3a178872f7478a0e0f891e18a4a9 (patch)
tree131923662d4f5bffe5841dcbd7c7f06fa122353c /src/H5ACprivate.h
parent6b5d74f777b8955b5f6f5a96667557812630eba0 (diff)
downloadhdf5-cc44e6af631d3a178872f7478a0e0f891e18a4a9.zip
hdf5-cc44e6af631d3a178872f7478a0e0f891e18a4a9.tar.gz
hdf5-cc44e6af631d3a178872f7478a0e0f891e18a4a9.tar.bz2
[svn-r10715] Purpose:
Remove C99 types from new metadata cache related API calls Description: Windows (and perhaps others) don't like int32_t and int64_t. While we have dealt with the issue internally, it is more of a problem in API calls. Solution: Convert int32_t to int and int64_t to long int in the H5AC_cache_config_t structure used by the new metadata cache related API calls. Added explicit type casts to convert between internal and external representations. Platforms tested: h5committested Misc. update:
Diffstat (limited to 'src/H5ACprivate.h')
-rw-r--r--src/H5ACprivate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h
index 71d79ef..a3d357d 100644
--- a/src/H5ACprivate.h
+++ b/src/H5ACprivate.h
@@ -177,14 +177,14 @@ extern hid_t H5AC_ind_dxpl_id;
#define H5AC__DEFAULT_CACHE_CONFIG \
{ \
- /* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER, \
+ /* int version = */ H5C__CURR_AUTO_SIZE_CTL_VER, \
/* hbool_t rpt_fcn_enabled = */ FALSE, \
/* hbool_t set_initial_size = */ TRUE, \
/* size_t initial_size = */ (1 * 1024 * 1024), \
/* double min_clean_fraction = */ 0.25, \
/* size_t max_size = */ (16 * 1024 * 1024), \
/* size_t min_size = */ ( 1 * 1024 * 1024), \
- /* int64_t epoch_length = */ 50000, \
+ /* long int epoch_length = */ 50000, \
/* enum H5C_cache_incr_mode incr_mode = */ H5C_incr__threshold, \
/* double lower_hr_threshold = */ 0.9, \
/* double increment = */ 2.0, \
@@ -195,7 +195,7 @@ extern hid_t H5AC_ind_dxpl_id;
/* double decrement = */ 0.9, \
/* hbool_t apply_max_decrement = */ TRUE, \
/* size_t max_decrement = */ (1 * 1024 * 1024), \
- /* int32_t epochs_before_eviction = */ 3, \
+ /* int epochs_before_eviction = */ 3, \
/* hbool_t apply_empty_reserve = */ TRUE, \
/* double empty_reserve = */ 0.1 \
}