diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-01-15 15:53:33 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-01-15 15:53:33 (GMT) |
commit | 0d68aa89cede07df85eca611510a6271fbbb1d8a (patch) | |
tree | bdef31cdbdb77168e26bd4e2ed0eb12665dada44 /c++/test/h5cpputil.h | |
parent | c09393ed0a2624cc04556249ef5549c2485efe8f (diff) | |
download | hdf5-0d68aa89cede07df85eca611510a6271fbbb1d8a.zip hdf5-0d68aa89cede07df85eca611510a6271fbbb1d8a.tar.gz hdf5-0d68aa89cede07df85eca611510a6271fbbb1d8a.tar.bz2 |
[svn-r28905] Purpose: Fix user reported problem
Description:
User Adam Rosenberger reported a failure when using the member function
AbstractDs::getArrayType(). This problem was caused by missing
initialization of the ArrayType's members in some cases.
Solution:
- Added ArrayType::setArrayInfo() to retrieve rank and dimensions of
an array and store them in memory for easy access.
- Re-factored a few functions to use the new function.
- We'll give him 1.8.16 patch
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/test/h5cpputil.h')
-rw-r--r-- | c++/test/h5cpputil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h index 8625213..b615194 100644 --- a/c++/test/h5cpputil.h +++ b/c++/test/h5cpputil.h @@ -132,6 +132,7 @@ template <class Type1, class Type2> #ifdef __cplusplus extern "C" { #endif +void test_array(); void test_attr(); void test_compound(); void test_dsproplist(); @@ -146,6 +147,7 @@ void test_vlstrings(); void test_dset(); /* Prototypes for the cleanup routines */ +void cleanup_array(); void cleanup_attr(); void cleanup_compound(); void cleanup_dsproplist(); |