summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5util.h
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-10-26 04:33:30 (GMT)
committerGitHub <noreply@github.com>2022-10-26 04:33:30 (GMT)
commit9c61f7b1e1cfb65cd562febfbb7ad49e8785825c (patch)
tree2bf6453021345ae6013d6181e6028f2ff41dd7cb /java/src/jni/h5util.h
parentad2d77397ac564836f5fd89e66d5647250daf10e (diff)
downloadhdf5-9c61f7b1e1cfb65cd562febfbb7ad49e8785825c.zip
hdf5-9c61f7b1e1cfb65cd562febfbb7ad49e8785825c.tar.gz
hdf5-9c61f7b1e1cfb65cd562febfbb7ad49e8785825c.tar.bz2
JNI: Improve varlen datatype handling in H5A/H5D read/write functions (#2156)
* Improve JNI VL datatype read/write to handle complex combinations * Implement VL of VL JNI writes and reads * Add Java VLofVL test for attributtes * Changes to address review issues * Fix H5Aread vl blocks
Diffstat (limited to 'java/src/jni/h5util.h')
-rw-r--r--java/src/jni/h5util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/jni/h5util.h b/java/src/jni/h5util.h
index 24c1116..5b9da13 100644
--- a/java/src/jni/h5util.h
+++ b/java/src/jni/h5util.h
@@ -52,6 +52,11 @@ extern int h5str_dump_simple_mem(JNIEnv *env, FILE *stream, hid_t attr, int b
extern htri_t H5Tdetect_variable_str(hid_t tid);
+extern herr_t translate_rbuf(JNIEnv *env, jobjectArray ret_buf, jlong mem_type_id, H5T_class_t type_class,
+ jsize count, jbyte *raw_buf);
+extern herr_t translate_wbuf(JNIEnv *env, jobjectArray ret_buf, jlong mem_type_id, H5T_class_t type_class,
+ jsize count, jbyte *raw_buf);
+
/*
* Symbols used to format the output of h5str_sprintf and
* to interpret the input to h5str_convert.