summaryrefslogtreecommitdiffstats
path: root/src/H5Tprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-14 09:46:12 (GMT)
commit6266d0fe88bbb6c823bda15295e583643b7204bf (patch)
treee1b1f3e6ee65ab3b05a444c755193995f716564a /src/H5Tprivate.h
parent776628b873facb34616ae63d16a2b79ccd5bd283 (diff)
downloadhdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.zip
hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.gz
hdf5-6266d0fe88bbb6c823bda15295e583643b7204bf.tar.bz2
Manual merge of H5T_copy constification (avoids VOL changes and
messy diff).
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r--src/H5Tprivate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h
index aff3f6d..dc5fb19 100644
--- a/src/H5Tprivate.h
+++ b/src/H5Tprivate.h
@@ -54,8 +54,7 @@ typedef struct H5T_path_t H5T_path_t;
/* How to copy a datatype */
typedef enum H5T_copy_t {
H5T_COPY_TRANSIENT,
- H5T_COPY_ALL,
- H5T_COPY_REOPEN
+ H5T_COPY_ALL
} H5T_copy_t;
/* Location of datatype information */
@@ -105,7 +104,8 @@ H5_DLLVAR H5T_order_t H5T_native_order_g;
/* Private functions */
H5_DLL herr_t H5T_init(void);
-H5_DLL H5T_t *H5T_copy(H5T_t *old_dt, H5T_copy_t method);
+H5_DLL H5T_t *H5T_copy(const H5T_t *old_dt, H5T_copy_t method);
+H5_DLL H5T_t *H5T_copy_reopen(H5T_t *old_dt);
H5_DLL herr_t H5T_lock(H5T_t *dt, hbool_t immutable);
H5_DLL herr_t H5T_close(H5T_t *dt);
H5_DLL herr_t H5T_close_real(H5T_t *dt);
@@ -151,7 +151,7 @@ H5_DLL herr_t H5T_update_shared(H5T_t *type);
/* Field functions (for both compound & enumerated types) */
H5_DLL int H5T_get_nmembers(const H5T_t *dt);
-H5_DLL H5T_t *H5T_get_member_type(const H5T_t *dt, unsigned membno, H5T_copy_t method);
+H5_DLL H5T_t *H5T_get_member_type(const H5T_t *dt, unsigned membno);
H5_DLL size_t H5T_get_member_offset(const H5T_t *dt, unsigned membno);
/* Atomic functions */