From d870cba233f2507ede058523ee665006c8365687 Mon Sep 17 00:00:00 2001 From: Binh-Minh Date: Tue, 14 Jan 2025 16:13:52 -0500 Subject: [PATCH 1/2] Changed comment style to avoid long line issue. --- src/H5Mpublic.h | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/H5Mpublic.h b/src/H5Mpublic.h index 0f92af57ac5..7acfd6050db 100644 --- a/src/H5Mpublic.h +++ b/src/H5Mpublic.h @@ -32,17 +32,24 @@ /* Macros defining operation IDs for map VOL callbacks (implemented using the * "optional" VOL callback) */ -#define H5VL_MAP_CREATE 1 /**< Callback operation ID for map create \since 1.12.0 */ -#define H5VL_MAP_OPEN 2 /**< Callback operation ID for map open \since 1.12.0 */ -#define H5VL_MAP_GET_VAL \ - 3 /**< Callback operation ID for getting an associated value from a map \since 1.12.0 */ -#define H5VL_MAP_EXISTS 4 /**< Callback operation ID for checking if a value exists in a map \since 1.12.0 \ - */ -#define H5VL_MAP_PUT 5 /**< Callback operation ID for putting a key-value pair to a map \since 1.12.0 */ -#define H5VL_MAP_GET 6 /**< Callback operation ID for map get callback \since 1.12.0 */ -#define H5VL_MAP_SPECIFIC 7 /**< Callback operation ID for map specific operation \since 1.12.0 */ -#define H5VL_MAP_OPTIONAL 8 /**< Currently unused \since 1.12.0 */ -#define H5VL_MAP_CLOSE 9 /**< Callback operation ID for terminating access to a map \since 1.12.0 */ +/** Callback operation ID for map create \since 1.12.0 */ +#define H5VL_MAP_CREATE 1 +/** Callback operation ID for map open \since 1.12.0 */ +#define H5VL_MAP_OPEN 2 +/** Callback operation ID for getting an associated value from a map \since 1.12.0 */ +#define H5VL_MAP_GET_VAL 3 +/** Callback operation ID for checking if a value exists in a map \since 1.12.0 */ +#define H5VL_MAP_EXISTS 4 +/** Callback operation ID for putting a key-value pair to a map \since 1.12.0 */ +#define H5VL_MAP_PUT 5 +/** Callback operation ID for map get callback \since 1.12.0 */ +#define H5VL_MAP_GET 6 +/** Callback operation ID for map specific operation \since 1.12.0 */ +#define H5VL_MAP_SPECIFIC 7 +/** Currently unused \since 1.12.0 */ +#define H5VL_MAP_OPTIONAL 8 +/** Callback operation ID for terminating access to a map \since 1.12.0 */ +#define H5VL_MAP_CLOSE 9 /*******************/ /* Public Typedefs */ From c21138cddae13a24c79f189b7afb2d41d59e0179 Mon Sep 17 00:00:00 2001 From: bmribler <39579120+bmribler@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:27:25 -0500 Subject: [PATCH 2/2] Update H5Mpublic.h for clang format --- src/H5Mpublic.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/H5Mpublic.h b/src/H5Mpublic.h index 7acfd6050db..f75724e930c 100644 --- a/src/H5Mpublic.h +++ b/src/H5Mpublic.h @@ -33,23 +33,23 @@ /* Macros defining operation IDs for map VOL callbacks (implemented using the * "optional" VOL callback) */ /** Callback operation ID for map create \since 1.12.0 */ -#define H5VL_MAP_CREATE 1 +#define H5VL_MAP_CREATE 1 /** Callback operation ID for map open \since 1.12.0 */ -#define H5VL_MAP_OPEN 2 +#define H5VL_MAP_OPEN 2 /** Callback operation ID for getting an associated value from a map \since 1.12.0 */ -#define H5VL_MAP_GET_VAL 3 +#define H5VL_MAP_GET_VAL 3 /** Callback operation ID for checking if a value exists in a map \since 1.12.0 */ -#define H5VL_MAP_EXISTS 4 +#define H5VL_MAP_EXISTS 4 /** Callback operation ID for putting a key-value pair to a map \since 1.12.0 */ -#define H5VL_MAP_PUT 5 +#define H5VL_MAP_PUT 5 /** Callback operation ID for map get callback \since 1.12.0 */ -#define H5VL_MAP_GET 6 +#define H5VL_MAP_GET 6 /** Callback operation ID for map specific operation \since 1.12.0 */ #define H5VL_MAP_SPECIFIC 7 /** Currently unused \since 1.12.0 */ #define H5VL_MAP_OPTIONAL 8 /** Callback operation ID for terminating access to a map \since 1.12.0 */ -#define H5VL_MAP_CLOSE 9 +#define H5VL_MAP_CLOSE 9 /*******************/ /* Public Typedefs */