diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-26 21:45:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 21:45:46 (GMT) |
commit | ae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch) | |
tree | b616f33f5daa89f213e7c64e04c63afde906e939 /java/src/jni/h5util.h | |
parent | 213eac2588369f75a11df6bb1788dde33c4b82e2 (diff) | |
download | hdf5-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 'java/src/jni/h5util.h')
-rw-r--r-- | java/src/jni/h5util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5util.h b/java/src/jni/h5util.h index 3146c06..24c1116 100644 --- a/java/src/jni/h5util.h +++ b/java/src/jni/h5util.h @@ -31,14 +31,14 @@ #endif typedef struct h5str_t { - char * s; + char *s; size_t max; /* the allocated size of the string */ } h5str_t; extern void h5str_new(h5str_t *str, size_t len); extern void h5str_free(h5str_t *str); extern void h5str_resize(h5str_t *str, size_t new_len); -extern char * h5str_append(h5str_t *str, const char *cstr); +extern char *h5str_append(h5str_t *str, const char *cstr); extern htri_t h5str_detect_vlen(hid_t tid); extern size_t h5str_convert(JNIEnv *env, char **in_str, hid_t container, hid_t tid, void *out_buf, size_t out_buf_offset); |