summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-29 19:36:16 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-29 19:36:16 (GMT)
commit28e23330df9b9d35c1c13e1f983f66b4a98afe36 (patch)
tree99483b64cdc89e319b68d57c2ad99da250712529 /src/H5Tpkg.h
parent5761b90f63b5f3d69e914cfbe7a4619cce9bfc4b (diff)
downloadhdf5-28e23330df9b9d35c1c13e1f983f66b4a98afe36.zip
hdf5-28e23330df9b9d35c1c13e1f983f66b4a98afe36.tar.gz
hdf5-28e23330df9b9d35c1c13e1f983f66b4a98afe36.tar.bz2
[svn-r197] Changes since 19980129
---------------------- ./config/freebds2.2.1 ./config/irix64 ./config/linux Added -DH5T_DEBUG to the debugging flags. Also changed `true' to `:' for the Irix64 ranlib program. This turns on printing of data type conversion statistics when the program exits. ./html/Datatypes.html Fixed documentation for data conversion functions and updated examples. ./src/H5D.c The I/O pipeline updates data type conversion statistics. ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tpublic.h Cleaned up data type conversion registration interface.
Diffstat (limited to 'src/H5Tpkg.h')
-rw-r--r--src/H5Tpkg.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index 90aa54a..f1679bb 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -16,6 +16,13 @@
#ifndef _H5Tpkg_H
#define _H5Tpkg_H
+/*
+ * Define this to enable debugging.
+ */
+#ifdef NDEBUG
+# undef H5T_DEBUG
+#endif
+
#include <H5Tprivate.h>
typedef struct H5T_atomic_t {
@@ -76,9 +83,9 @@ typedef struct H5T_member_t {
typedef struct H5T_path_t {
H5T_t *src; /*source data type ID */
H5T_t *dst; /*destination data type ID */
- H5T_conv_t hard; /*hard conversion function or null */
- H5T_conv_t soft; /*soft conversion function or null */
- H5T_cdata_t *cdata; /*extra conversion data */
+ H5T_conv_t func; /*data conversion function */
+ hbool_t is_hard; /*is it a hard function? */
+ H5T_cdata_t cdata; /*data for this function */
} H5T_path_t;
/* The master list of soft conversion functions */
@@ -90,7 +97,7 @@ typedef struct H5T_soft_t {
/* Function prototypes for H5T package scope */
H5T_path_t *H5T_path_find (const H5T_t *src, const H5T_t *dst,
- hbool_t create);
+ hbool_t create, H5T_conv_t func);
/* Conversion functions */
herr_t H5T_conv_noop (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,