summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-11 20:39:38 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-11 20:39:38 (GMT)
commit28365eb5b3fb9d329ab7bf09308bd48f42c91158 (patch)
tree9d06ab00f45a5a4ec1c7f3a743c8a3286662ad0f /tools/lib/h5diff.h
parentdc73eca1599d065186baa6a44ed611cb37225ce1 (diff)
downloadhdf5-28365eb5b3fb9d329ab7bf09308bd48f42c91158.zip
hdf5-28365eb5b3fb9d329ab7bf09308bd48f42c91158.tar.gz
hdf5-28365eb5b3fb9d329ab7bf09308bd48f42c91158.tar.bz2
[svn-r13042]
added a size of array information when printing differences modified print_pos and diff_datum for having one extra argument *dims
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r--tools/lib/h5diff.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h
index e698770..30f0362 100644
--- a/tools/lib/h5diff.h
+++ b/tools/lib/h5diff.h
@@ -36,11 +36,9 @@ typedef struct {
int err_stat; /* an error ocurred (1, error, 0, no error) */
int cmn_objs; /* do we have comparable objects */
int not_cmp; /* are the objects comparable */
-
} diff_opt_t;
-
/*-------------------------------------------------------------------------
* public functions
*-------------------------------------------------------------------------
@@ -163,12 +161,12 @@ void print_dims( int r, hsize_t *d );
int print_objname(diff_opt_t *options, hsize_t nfound);
-
hsize_t diff_datum(void *_mem1,
void *_mem2,
hid_t m_type,
hsize_t i,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -185,6 +183,7 @@ hsize_t diff_float(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -197,6 +196,7 @@ hsize_t diff_double(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -209,6 +209,7 @@ hsize_t diff_schar(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -221,6 +222,7 @@ hsize_t diff_uchar(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -233,6 +235,7 @@ hsize_t diff_short(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -245,6 +248,7 @@ hsize_t diff_ushort(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -257,6 +261,7 @@ hsize_t diff_int(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -269,6 +274,7 @@ hsize_t diff_uint(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -281,6 +287,7 @@ hsize_t diff_long(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -293,6 +300,7 @@ hsize_t diff_ulong(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -305,6 +313,7 @@ hsize_t diff_llong(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,
@@ -317,6 +326,7 @@ hsize_t diff_ullong(unsigned char *mem1,
hsize_t nelmts,
hsize_t hyper_start,
int rank,
+ hsize_t *dims,
hsize_t *acc,
hsize_t *pos,
diff_opt_t *options,