summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5util.h
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /java/src/jni/h5util.h
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'java/src/jni/h5util.h')
-rw-r--r--java/src/jni/h5util.h4
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);