diff options
author | David Young <dyoung@hdfgroup.org> | 2021-11-23 14:09:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 14:09:05 (GMT) |
commit | 462e9a373f810eda51f4bc3c6415d6130b2a3cac (patch) | |
tree | df3d2687c84d9be85bb758ee48f5ee15c7578799 /tools/testfiles/tsoftlinks.h5 | |
parent | b9e4deec10cc943a7ecb3ac6bc6bd6695b2f33a0 (diff) | |
download | hdf5-462e9a373f810eda51f4bc3c6415d6130b2a3cac.zip hdf5-462e9a373f810eda51f4bc3c6415d6130b2a3cac.tar.gz hdf5-462e9a373f810eda51f4bc3c6415d6130b2a3cac.tar.bz2 |
Create 2D arrays on the heap in a different way (#1169)
* Create 2D arrays on the heap by malloc'ing `struct { TYPE arr[ROWS][COLS];
}`. This avoids the double-indirection through pointers and the
additional memory of H5TEST_ALLOCATE_2D_ARRAY().
This change will safely quiet the cast warning that PR #1129 was
intended to fix.
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'tools/testfiles/tsoftlinks.h5')
0 files changed, 0 insertions, 0 deletions