diff options
author | raylu-hdf <60487644+raylu-hdf@users.noreply.github.com> | 2023-02-21 16:38:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 16:38:00 (GMT) |
commit | ea5b3952f71ae613830ece0a4416656ecacf070d (patch) | |
tree | 2c5208e01de82143144d37a9d1a77c070f64d683 /src | |
parent | 7ff3eac6672de87d83bc75896c5f69f50cef1077 (diff) | |
download | hdf5-ea5b3952f71ae613830ece0a4416656ecacf070d.zip hdf5-ea5b3952f71ae613830ece0a4416656ecacf070d.tar.gz hdf5-ea5b3952f71ae613830ece0a4416656ecacf070d.tar.bz2 |
HDFFV-10368 (OESS-319): Making two useful macros (H5L_EXT_FLAGS_ALL and H5L_EXT_VERSION) public (#2386)
* HDFFV-10368 (OESS-319): Move two useful macros (H5L_EXT_FLAGS_ALL and H5L_EXT_VERSION) from H5Lpkg.h to H5Lpublic.h for public usage. The test in vol.c only envokes H5Lcreate_external using the passthru VOL. To test if the macros are public, one can use them in the link creation of the passthru VOL, such as printing out their values.
* Committing clang-format changes
* Moved the test for the external link public macros (H5L_EXT_FLAGS_ALL and H5L_EXT_VERSION) from vol.c to links.c.
* Committing clang-format changes
* Minor change: changed a pointer variable to an integer.
* Committing clang-format changes
* Moved two macros (H5L_EXT_VERSION and H5L_EXT_FLAGS_ALL) to H5Ldevelop.h for only developers to use.
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Ldevelop.h | 10 | ||||
-rw-r--r-- | src/H5Lpkg.h | 6 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/H5Ldevelop.h b/src/H5Ldevelop.h index 34e50a0..148a5a5 100644 --- a/src/H5Ldevelop.h +++ b/src/H5Ldevelop.h @@ -30,6 +30,16 @@ */ #define H5L_LINK_CLASS_T_VERS 1 +/** + * \brief Version of external link format + */ +#define H5L_EXT_VERSION 0 + +/** + * \brief Valid flags for external links + */ +#define H5L_EXT_FLAGS_ALL 0 + /*******************/ /* Public Typedefs */ /*******************/ diff --git a/src/H5Lpkg.h b/src/H5Lpkg.h index 6fd15e7..25d9978 100644 --- a/src/H5Lpkg.h +++ b/src/H5Lpkg.h @@ -34,12 +34,6 @@ /* Package Private Macros */ /**************************/ -/* Version of external link format */ -#define H5L_EXT_VERSION 0 - -/* Valid flags for external links */ -#define H5L_EXT_FLAGS_ALL 0 - /****************************/ /* Package Private Typedefs */ /****************************/ |