summaryrefslogtreecommitdiffstats
path: root/src/H5ACpublic.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/H5ACpublic.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/H5ACpublic.h')
-rw-r--r--src/H5ACpublic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5ACpublic.h b/src/H5ACpublic.h
index fab825b..f8f3b6d 100644
--- a/src/H5ACpublic.h
+++ b/src/H5ACpublic.h
@@ -233,7 +233,7 @@ extern "C" {
typedef struct H5AC_cache_config_t
{
/* general configuration fields: */
- int32_t version;
+ int version;
hbool_t rpt_fcn_enabled;
@@ -245,7 +245,7 @@ typedef struct H5AC_cache_config_t
size_t max_size;
size_t min_size;
- int64_t epoch_length;
+ long int epoch_length;
/* size increase control fields: */
@@ -269,7 +269,7 @@ typedef struct H5AC_cache_config_t
hbool_t apply_max_decrement;
size_t max_decrement;
- int32_t epochs_before_eviction;
+ int epochs_before_eviction;
hbool_t apply_empty_reserve;
double empty_reserve;