diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-11 20:59:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 20:59:52 (GMT) |
commit | b9d1d66ab84b492691d3c73e71b1374a7da19e50 (patch) | |
tree | 91094aab994ae89fa356bd926726b3909f86d58e /java/src/jni/h5util.h | |
parent | 663321087a73e760a028517584731eb8ef308ba2 (diff) | |
download | hdf5-b9d1d66ab84b492691d3c73e71b1374a7da19e50.zip hdf5-b9d1d66ab84b492691d3c73e71b1374a7da19e50.tar.gz hdf5-b9d1d66ab84b492691d3c73e71b1374a7da19e50.tar.bz2 |
Develop HDFFV-11310 (#1811)
* Rework java vl check in read/write. Handle old refs in h5dump
* Committing clang-format changes
* Java changes allow default VL reads
* Fix JNI utility for old refs
* HDFFV-11310 - implement vlen read/write for atomic types.
* format check fix
* Mostly format fixes
* More format issues
* Two format changes
* Use JNI names for sizeof
* format change
* fix size typo
* Change to older method to initialize list
* remove unused var
* format fix
* switch writeVL functions to use datatype instead of java type
* Add VL option to generic read/write check
* Correct function name typo
* Add JIRA issue
* Correct note to match change in code.
* HDFFV-11318 add VL references as byte arrays
* Add release note and format changes
* Another format update
* Fix unreleased allocations
* Fix format
* format correction
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'java/src/jni/h5util.h')
-rw-r--r-- | java/src/jni/h5util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/jni/h5util.h b/java/src/jni/h5util.h index 6c568e1..3146c06 100644 --- a/java/src/jni/h5util.h +++ b/java/src/jni/h5util.h @@ -39,8 +39,10 @@ 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 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); +extern int h5str_sprint_old_reference(JNIEnv *env, h5str_t *out_str, hid_t region_obj, void *ref_buf); extern int h5str_sprint_reference(JNIEnv *env, h5str_t *out_str, void *ref_p); extern size_t h5str_sprintf(JNIEnv *env, h5str_t *out_str, hid_t container, hid_t tid, void *in_buf, int expand_data); |