summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDdirect.h')
-rw-r--r--src/H5FDdirect.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/H5FDdirect.h b/src/H5FDdirect.h
index 630a1e6..2d88a69 100644
--- a/src/H5FDdirect.h
+++ b/src/H5FDdirect.h
@@ -21,9 +21,9 @@
#define H5FDdirect_H
#ifdef H5_HAVE_DIRECT
-# define H5FD_DIRECT (H5FD_direct_init())
+#define H5FD_DIRECT (H5FD_direct_init())
#else
-# define H5FD_DIRECT (-1)
+#define H5FD_DIRECT (-1)
#endif /* H5_HAVE_DIRECT */
#ifdef H5_HAVE_DIRECT
@@ -33,15 +33,14 @@ extern "C" {
/* Default values for memory boundary, file block size, and maximal copy buffer size.
* Application can set these values through the function H5Pset_fapl_direct. */
-#define MBOUNDARY_DEF 4096
-#define FBSIZE_DEF 4096
-#define CBSIZE_DEF 16*1024*1024
+#define MBOUNDARY_DEF 4096
+#define FBSIZE_DEF 4096
+#define CBSIZE_DEF 16 * 1024 * 1024
-H5_DLL hid_t H5FD_direct_init(void);
-H5_DLL herr_t H5Pset_fapl_direct(hid_t fapl_id, size_t alignment, size_t block_size,
- size_t cbuf_size);
-H5_DLL herr_t H5Pget_fapl_direct(hid_t fapl_id, size_t *boundary/*out*/,
- size_t *block_size/*out*/, size_t *cbuf_size/*out*/);
+H5_DLL hid_t H5FD_direct_init(void);
+H5_DLL herr_t H5Pset_fapl_direct(hid_t fapl_id, size_t alignment, size_t block_size, size_t cbuf_size);
+H5_DLL herr_t H5Pget_fapl_direct(hid_t fapl_id, size_t *boundary /*out*/, size_t *block_size /*out*/,
+ size_t *cbuf_size /*out*/);
#ifdef __cplusplus
}
@@ -50,4 +49,3 @@ H5_DLL herr_t H5Pget_fapl_direct(hid_t fapl_id, size_t *boundary/*out*/,
#endif /* H5_HAVE_DIRECT */
#endif
-