summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /src/H5Tnative.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index 9625290..92276a5 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -120,25 +120,25 @@ static H5T_t *
H5T__get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_align, size_t *offset,
size_t *comp_size)
{
- H5T_t * super_type; /* Super type of VL, array and enum datatypes */
- H5T_t * nat_super_type; /* Native form of VL, array & enum super datatype */
- H5T_t * new_type = NULL; /* New native datatype */
- H5T_t * memb_type = NULL; /* Datatype of member */
+ H5T_t *super_type; /* Super type of VL, array and enum datatypes */
+ H5T_t *nat_super_type; /* Native form of VL, array & enum super datatype */
+ H5T_t *new_type = NULL; /* New native datatype */
+ H5T_t *memb_type = NULL; /* Datatype of member */
H5T_t **memb_list = NULL; /* List of compound member IDs */
size_t *memb_offset =
NULL; /* List of member offsets in compound type, including member size and alignment */
- char ** comp_mname = NULL; /* List of member names in compound type */
- char * memb_name = NULL; /* Enum's member name */
- void * memb_value = NULL; /* Enum's member value */
- void * tmp_memb_value = NULL; /* Enum's member value */
- hsize_t * dims = NULL; /* Dimension sizes for array */
+ char **comp_mname = NULL; /* List of member names in compound type */
+ char *memb_name = NULL; /* Enum's member name */
+ void *memb_value = NULL; /* Enum's member value */
+ void *tmp_memb_value = NULL; /* Enum's member value */
+ hsize_t *dims = NULL; /* Dimension sizes for array */
H5T_class_t h5_class; /* Class of datatype to make native */
size_t size; /* Size of datatype to make native */
size_t prec; /* Precision of datatype to make native */
int snmemb; /* Number of members in compound & enum types */
unsigned nmemb = 0; /* Number of members in compound & enum types */
unsigned u; /* Local index variable */
- H5T_t * ret_value = NULL; /* Return value */
+ H5T_t *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -1159,7 +1159,7 @@ H5T__init_native_internal(void)
/* Pointer to the global variable that receives the
* identifier for `type`'s H5T_t:
*/
- hid_t * hidp;
+ hid_t *hidp;
size_t size; // sizeof(`type`)
H5T_atomic_t atomic; // `type` facts such as signedness
} native_int_t;