diff options
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/H5LT.c | 2 | ||||
-rw-r--r-- | hl/src/H5LTparse.c | 2 | ||||
-rw-r--r-- | hl/src/H5LTparse.y | 2 | ||||
-rw-r--r-- | hl/test/test_lite.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c index e226f89..ca56d69 100644 --- a/hl/src/H5LT.c +++ b/hl/src/H5LT.c @@ -2173,7 +2173,7 @@ next: /* Get array information */ if((ndims = H5Tget_array_ndims(dtype)) < 0) goto out; - if(H5Tget_array_dims(dtype, dims, NULL) < 0) + if(H5Tget_array_dims2(dtype, dims) < 0) goto out; /* Print array dimensions */ diff --git a/hl/src/H5LTparse.c b/hl/src/H5LTparse.c index b146046..35c4670 100644 --- a/hl/src/H5LTparse.c +++ b/hl/src/H5LTparse.c @@ -888,7 +888,7 @@ break; case 57: #line 213 "H5LTparse.y" { - yyval.ival = H5Tarray_create(yyvsp[-1].ival, arr_stack[asindex].ndims, arr_stack[asindex].dims, NULL); + yyval.ival = H5Tarray_create2(yyvsp[-1].ival, arr_stack[asindex].ndims, arr_stack[asindex].dims); arr_stack[asindex].ndims = 0; asindex--; H5Tclose(yyvsp[-1].ival); diff --git a/hl/src/H5LTparse.y b/hl/src/H5LTparse.y index a508c95..7866add 100644 --- a/hl/src/H5LTparse.y +++ b/hl/src/H5LTparse.y @@ -211,7 +211,7 @@ offset : NUMBER array_type : H5T_ARRAY_TOKEN { asindex++; /*pushd onto the stack*/ } '{' dim_list ddl_type '}' { - $<ival>$ = H5Tarray_create($<ival>5, arr_stack[asindex].ndims, arr_stack[asindex].dims, NULL); + $<ival>$ = H5Tarray_create2($<ival>5, arr_stack[asindex].ndims, arr_stack[asindex].dims); arr_stack[asindex].ndims = 0; asindex--; H5Tclose($<ival>5); diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c index d8aeb99..239ad60 100644 --- a/hl/test/test_lite.c +++ b/hl/test/test_lite.c @@ -1420,7 +1420,7 @@ static int test_arrays(void) if(ndims != 3) goto out; - if(H5Tget_array_dims(dtype, dims, NULL) < 0) + if(H5Tget_array_dims2(dtype, dims) < 0) goto out; if(dims[0] != 5 || dims[1] != 7 || dims[2] != 13) goto out; |