mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r15798] Description:
Change H5Tcommit() call to H5Tcommit2() call, so that library builds with the default API set to v16 work. Tested on: Linux/64 2.4 (smirom) w/default API set to v16
This commit is contained in:
parent
7d95527f30
commit
504c67846e
@ -2977,7 +2977,7 @@ test_compound_16(void)
|
||||
|
||||
/* Copy and commit integer datatype */
|
||||
if((int_id = H5Tcopy(H5T_NATIVE_INT)) < 0) TEST_ERROR
|
||||
if(H5Tcommit (file, "int", int_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT) < 0) TEST_ERROR
|
||||
if(H5Tcommit2(file, "int", int_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT) < 0) TEST_ERROR
|
||||
|
||||
/* Create file compound datatype */
|
||||
if((cmpd_f_tid = H5Tcreate(H5T_COMPOUND, 2 * sizeof(int) + 2)) < 0) TEST_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user