diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-06-20 22:02:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-06-20 22:02:49 (GMT) |
commit | 5fc5d947f084d1ef5d4c4a0bc2be55baa181f0fa (patch) | |
tree | 5c6aa4a7454471f022e952a3477a7774e2540226 /hl/src | |
parent | 2e973f7e12301975f9d8dfdd5534682525554e77 (diff) | |
parent | c24f11070aea56331110628d7645332534e4f227 (diff) | |
download | hdf5-5fc5d947f084d1ef5d4c4a0bc2be55baa181f0fa.zip hdf5-5fc5d947f084d1ef5d4c4a0bc2be55baa181f0fa.tar.gz hdf5-5fc5d947f084d1ef5d4c4a0bc2be55baa181f0fa.tar.bz2 |
Merge pull request #1749 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit 'c24f11070aea56331110628d7645332534e4f227':
Add H5_HLDLL prefix for windows link
HDFFV-10805 cleanup examples and test code
Add missing fortran mods
HDFFV-10805 Fix test of library libinfo
Cleanup possible CMake target conflicts
Correct CMake issues
Diffstat (limited to 'hl/src')
-rw-r--r-- | hl/src/H5LDprivate.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/hl/src/H5LDprivate.h b/hl/src/H5LDprivate.h index b52928b..203bcea 100644 --- a/hl/src/H5LDprivate.h +++ b/hl/src/H5LDprivate.h @@ -19,9 +19,9 @@ #include "H5LDpublic.h" /* Store information for a field in <list_of_fields> for a compound data type */ -/* +/* * Note: This data structure is used by both H5LD.c and hl/tools/h5watch - * This declaration is repeated in tools/lib/h5tools_str.c + * This declaration is repeated in tools/lib/h5tools_str.c */ typedef struct H5LD_memb_t { size_t tot_offset; @@ -30,7 +30,10 @@ typedef struct H5LD_memb_t { char **names; } H5LD_memb_t; -/* +#ifdef __cplusplus +extern "C" { +#endif +/* * Note that these two private routines are called by hl/tools/h5watch. * Have considered the following options: * 1) Repeat the coding in both H5LD.c and h5watch @@ -40,8 +43,12 @@ typedef struct H5LD_memb_t { * #2: these two routines are too specific to be made as public routines * Decide to do #3 at this point of time after some discussion. */ -void H5LD_clean_vector(H5LD_memb_t *listv[]); -int H5LD_construct_vector(char *fields, H5LD_memb_t *listv[], hid_t par_tid); +H5_HLDLL void H5LD_clean_vector(H5LD_memb_t *listv[]); +H5_HLDLL int H5LD_construct_vector(char *fields, H5LD_memb_t *listv[], hid_t par_tid); + +#ifdef __cplusplus +} +#endif #endif /* end _H5LDprivate_H */ |