diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2002-11-06 21:08:45 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2002-11-06 21:08:45 (GMT) |
commit | a9dea215ed696c1523fec79b4175b571600dca77 (patch) | |
tree | 0f004dc441cf2b95ecc1312a3bad61c0a556b768 /test/tvlstr.c | |
parent | 28874d54c4a7ebb953d7a92814090eb97b306251 (diff) | |
download | hdf5-a9dea215ed696c1523fec79b4175b571600dca77.zip hdf5-a9dea215ed696c1523fec79b4175b571600dca77.tar.gz hdf5-a9dea215ed696c1523fec79b4175b571600dca77.tar.bz2 |
[svn-r6060]
Purpose:
Add new functions
Description:
add H5Tget_native_type and H5Tis_variable_str.
Platforms tested:
arabica, eirene, modi4
Misc. update:
MANIFEST and release_docs/RELEASE updated.
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r-- | test/tvlstr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c index 7ce7e18..9d31f2d 100644 --- a/test/tvlstr.c +++ b/test/tvlstr.c @@ -261,6 +261,12 @@ static void test_vlstring_type(void) ret = H5Tset_size(tid_vlstr, H5T_VARIABLE); CHECK(ret, FAIL, "H5Tset_size"); + /* Check if datatype is VL string */ + ret = H5Tget_class(tid_vlstr); + VERIFY(ret, H5T_STRING, "H5Tget_class"); + ret = H5Tis_variable_str(tid_vlstr); + VERIFY(ret, TRUE, "H5Tis_variable_str"); + /* Check default character set and padding */ cset = H5Tget_cset(tid_vlstr); VERIFY(cset, H5T_CSET_ASCII, "H5Tget_cset"); |