diff options
Diffstat (limited to 'hl/src')
-rw-r--r-- | hl/src/H5LT.c | 2 | ||||
-rw-r--r-- | hl/src/H5LTparse.c | 2 | ||||
-rw-r--r-- | hl/src/H5LTparse.y | 2 |
3 files changed, 3 insertions, 3 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); |