summaryrefslogtreecommitdiffstats
path: root/src/H5Tprivate.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-01-29 20:11:10 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-01-29 20:11:10 (GMT)
commit4a4755d314542d951bf22ad49911ff053a5b67ec (patch)
treefd18f3faffd12ffe05914614186e8f2d8ad75b79 /src/H5Tprivate.h
parentf554a4fb5465cfd539ad7bd0310adddf88db6708 (diff)
downloadhdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.zip
hdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.tar.gz
hdf5-4a4755d314542d951bf22ad49911ff053a5b67ec.tar.bz2
H5T_copy() constification plus Quincey's contributions.
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r--src/H5Tprivate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h
index d8e98af..e05bb4e 100644
--- a/src/H5Tprivate.h
+++ b/src/H5Tprivate.h
@@ -59,7 +59,6 @@ struct H5S_t;
typedef enum H5T_copy_t {
H5T_COPY_TRANSIENT,
H5T_COPY_ALL,
- H5T_COPY_REOPEN
} H5T_copy_t;
/* Location of datatype information */
@@ -109,7 +108,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);
@@ -164,7 +164,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 */