mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
fix whitespace
This commit is contained in:
parent
651b728a62
commit
3f47c38868
@ -1012,17 +1012,17 @@ Java_hdf_hdf5lib_H5_H5DreadVL
|
||||
else {
|
||||
isStr = H5Tdetect_class((hid_t)mem_type_id, H5T_STRING);
|
||||
if (H5Tget_class((hid_t)mem_type_id) == H5T_COMPOUND) {
|
||||
unsigned i;
|
||||
int nm = H5Tget_nmembers(mem_type_id);
|
||||
for(i = 0; i <nm; i++) {
|
||||
hid_t nested_tid = H5Tget_member_type((hid_t)mem_type_id, i);
|
||||
isComplex = H5Tdetect_class((hid_t)nested_tid, H5T_COMPOUND) ||
|
||||
H5Tdetect_class((hid_t)nested_tid, H5T_VLEN);
|
||||
H5Tclose(nested_tid);
|
||||
}
|
||||
unsigned i;
|
||||
int nm = H5Tget_nmembers(mem_type_id);
|
||||
for(i = 0; i <nm; i++) {
|
||||
hid_t nested_tid = H5Tget_member_type((hid_t)mem_type_id, i);
|
||||
isComplex = H5Tdetect_class((hid_t)nested_tid, H5T_COMPOUND) ||
|
||||
H5Tdetect_class((hid_t)nested_tid, H5T_VLEN);
|
||||
H5Tclose(nested_tid);
|
||||
}
|
||||
else if (H5Tget_class((hid_t)mem_type_id) == H5T_VLEN) {
|
||||
isVlenStr = 1; /* strings created by H5Tvlen_create( H5T_C_S1) */
|
||||
}
|
||||
else if (H5Tget_class((hid_t)mem_type_id) == H5T_VLEN) {
|
||||
isVlenStr = 1; /* strings created by H5Tvlen_create( H5T_C_S1) */
|
||||
}
|
||||
if (isStr == 0 || isComplex>0 || isVlenStr) {
|
||||
status = H5DreadVL_asstr(env, (hid_t)dataset_id, (hid_t)mem_type_id,
|
||||
|
Loading…
Reference in New Issue
Block a user