mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Add unknown define for h5dump ref objects
This commit is contained in:
parent
ca1b672ced
commit
d7c38eeee9
@ -581,6 +581,7 @@ H5TOOLS_DLLVAR int enable_error_stack; /* re-enable error stack; disable=0 e
|
||||
#define H5_TOOLS_DATASET "DATASET"
|
||||
#define H5_TOOLS_DATATYPE "DATATYPE"
|
||||
#define H5_TOOLS_ATTRIBUTE "ATTRIBUTE"
|
||||
#define H5_TOOLS_UNKNOWN "UNKNOWN"
|
||||
|
||||
/* Definitions of useful routines */
|
||||
H5TOOLS_DLL void h5tools_init(void);
|
||||
|
@ -1135,7 +1135,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
|
||||
case H5O_TYPE_UNKNOWN:
|
||||
case H5O_TYPE_NTYPES:
|
||||
default:
|
||||
h5tools_str_append(str, "%u-", (unsigned) oi.type);
|
||||
h5tools_str_append(str, "%u-%s", (unsigned) oi.type, H5_TOOLS_UNKNOWN);
|
||||
break;
|
||||
} /* end switch */
|
||||
H5Oclose(obj);
|
||||
@ -1172,6 +1172,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
|
||||
case H5O_TYPE_UNKNOWN:
|
||||
case H5O_TYPE_NTYPES:
|
||||
default:
|
||||
h5tools_str_append(str, H5_TOOLS_UNKNOWN);
|
||||
break;
|
||||
} /* end switch */
|
||||
h5tools_str_sprint_reference(str, info, container, ref_vp);
|
||||
|
Loading…
Reference in New Issue
Block a user